mirror of
https://github.com/sheumann/VNCviewGS.git
synced 2024-11-22 02:30:47 +00:00
aa868d6ff6
Also, clean up some of the includes in various files.
26 lines
856 B
C
26 lines
856 B
C
/********************************************************************
|
|
* vncsession.h - functions for establishing connection to VNC server
|
|
* and communicating with it
|
|
********************************************************************/
|
|
|
|
#include <types.h>
|
|
|
|
#define RFBVERSIONSTR "RFB 003.003\n"
|
|
#define RFBMAJORVERSIONSTR "003"
|
|
|
|
#define SwapBytes2(x) (((unsigned int)x << 8) | ((unsigned int)x >> 8))
|
|
#define SwapBytes4(x) (((unsigned long)x << 24) | \
|
|
((unsigned long)x >> 24) | \
|
|
(((unsigned long)x & 0x0000FF00) << 8) | \
|
|
(((unsigned long)x & 0x00FF0000) >> 8))
|
|
|
|
extern GrafPortPtr connectStatusWindowPtr;
|
|
|
|
extern unsigned int hostIpid;
|
|
|
|
extern void DisplayConnectStatus(char *, BOOLEAN);
|
|
|
|
extern void DoConnect (void);
|
|
|
|
extern void CloseTCPConnection (void);
|