LibVNCServer/LibVNCClient
Data Structures | Macros | Typedefs | Functions
rfbproto.h File Reference
#include <stdint.h>
#include <rfb/rfbconfig.h>
+ Include dependency graph for rfbproto.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  rfbRectangle
 
struct  rfbPixelFormat
 
struct  rfbClientInitMsg
 
struct  rfbServerInitMsg
 
struct  rfbFramebufferUpdateMsg
 
struct  rfbFramebufferUpdateRectHeader
 
struct  rfbSupportedMessages
 
struct  rfbCopyRect
 
struct  rfbRREHeader
 
struct  rfbCoRRERectangle
 
struct  rfbZlibHeader
 
struct  rfbXCursorColors
 
struct  rfbZRLEHeader
 
struct  rfbSetColourMapEntriesMsg
 
struct  rfbBellMsg
 
struct  rfbServerCutTextMsg
 
struct  rfbFileTransferMsg
 
struct  rfbTextChatMsg
 
struct  rfbXvpMsg
 
struct  rfbExtDesktopSizeMsg
 
struct  rfbExtDesktopScreen
 
struct  rfbSetDesktopSizeMsg
 
struct  rfbResizeFrameBufferMsg
 
struct  rfbPalmVNCReSizeFrameBufferMsg
 
union  rfbServerToClientMsg
 
struct  rfbCacheRect
 
struct  rfbSetPixelFormatMsg
 
struct  rfbFixColourMapEntriesMsg
 
struct  rfbSetEncodingsMsg
 
struct  rfbFramebufferUpdateRequestMsg
 
struct  rfbKeyEventMsg
 
struct  rfbQemuExtendedKeyEventMsg
 
struct  rfbPointerEventMsg
 
struct  rfbClientCutTextMsg
 
struct  rfbSetScaleMsg
 
struct  rfbPalmVNCSetScaleFactorMsg
 
struct  rfbSetServerInputMsg
 
struct  rfbSetSWMsg
 
union  rfbClientToServerMsg
 

Macros

#define rfbMax(a, b)   (((a)>(b))?(a):(b))
 
#define rfbSocket   int
 
#define SOCKET   int /* LibVNCServer versions older than 0.9.13 defined this for non-Windows, so keep it here */
 
#define RFB_INVALID_SOCKET   (-1)
 
#define _rfbCloseSocket   close
 
#define FALSE   0
 
#define TRUE   -1
 
#define rfbCloseSocket(s)
 
#define INADDR_NONE   ((in_addr_t) 0xffffffff)
 
#define MAX_ENCODINGS   64
 
#define sz_rfbRectangle   8
 
#define sz_rfbPixelFormat   16
 
#define rfbPFFullColors   0
 
#define rfbPF256Colors   1
 
#define rfbPF64Colors   2
 
#define rfbPF8Colors   3
 
#define rfbPF8GreyColors   4
 
#define rfbPF4GreyColors   5
 
#define rfbPF2GreyColors   6
 
#define rfbProtocolVersionFormat   "RFB %03d.%03d\n"
 
#define rfbProtocolMajorVersion   3
 
#define rfbProtocolMinorVersion   8
 
#define sz_rfbProtocolVersionMsg   12
 
#define rfbSecTypeInvalid   0
 
#define rfbSecTypeNone   1
 
#define rfbSecTypeVncAuth   2
 
#define rfbConnFailed   0
 
#define rfbNoAuth   1
 
#define rfbVncAuth   2
 
#define rfbRA2   5
 
#define rfbRA2ne   6
 
#define rfbSSPI   7
 
#define rfbSSPIne   8
 
#define rfbTight   16
 
#define rfbUltra   17
 
#define rfbTLS   18
 
#define rfbVeNCrypt   19
 
#define rfbSASL   20
 
#define rfbARD   30
 
#define rfbUltraMSLogonI   0x70 /* UNIMPLEMENTED */
 
#define rfbUltraMSLogonII   0x71
 
#define rfbMSLogon   0xfffffffa
 
#define rfbVeNCryptPlain   256
 
#define rfbVeNCryptTLSNone   257
 
#define rfbVeNCryptTLSVNC   258
 
#define rfbVeNCryptTLSPlain   259
 
#define rfbVeNCryptX509None   260
 
#define rfbVeNCryptX509VNC   261
 
#define rfbVeNCryptX509Plain   262
 
#define rfbVeNCryptX509SASL   263
 
#define rfbVeNCryptTLSSASL   264
 
#define rfbVncAuthOK   0
 
#define rfbVncAuthFailed   1
 
#define rfbVncAuthTooMany   2
 
#define sz_rfbClientInitMsg   1
 
#define sz_rfbServerInitMsg   (8 + sz_rfbPixelFormat)
 
#define rfbFramebufferUpdate   0
 
#define rfbSetColourMapEntries   1
 
#define rfbBell   2
 
#define rfbServerCutText   3
 
#define rfbResizeFrameBuffer   4
 
#define rfbPalmVNCReSizeFrameBuffer   0xF
 
#define rfbSetPixelFormat   0
 
#define rfbFixColourMapEntries   1 /* not currently supported */
 
#define rfbSetEncodings   2
 
#define rfbFramebufferUpdateRequest   3
 
#define rfbKeyEvent   4
 
#define rfbPointerEvent   5
 
#define rfbClientCutText   6
 
#define rfbFileTransfer   7
 
#define rfbSetScale   8
 
#define rfbSetServerInput   9
 
#define rfbSetSW   10
 
#define rfbTextChat   11
 
#define rfbPalmVNCSetScaleFactor   0xF
 
#define rfbXvp   250
 
#define rfbSetDesktopSize   251
 
#define rfbQemuEvent   255
 
#define rfbEncodingRaw   0
 
#define rfbEncodingCopyRect   1
 
#define rfbEncodingRRE   2
 
#define rfbEncodingCoRRE   4
 
#define rfbEncodingHextile   5
 
#define rfbEncodingZlib   6
 
#define rfbEncodingTight   7
 
#define rfbEncodingTightPng   0xFFFFFEFC /* -260 */
 
#define rfbEncodingZlibHex   8
 
#define rfbEncodingUltra   9
 
#define rfbEncodingTRLE   15
 
#define rfbEncodingZRLE   16
 
#define rfbEncodingZYWRLE   17
 
#define rfbEncodingH264   0x48323634
 
#define rfbEncodingCache   0xFFFF0000
 
#define rfbEncodingCacheEnable   0xFFFF0001
 
#define rfbEncodingXOR_Zlib   0xFFFF0002
 
#define rfbEncodingXORMonoColor_Zlib   0xFFFF0003
 
#define rfbEncodingXORMultiColor_Zlib   0xFFFF0004
 
#define rfbEncodingSolidColor   0xFFFF0005
 
#define rfbEncodingXOREnable   0xFFFF0006
 
#define rfbEncodingCacheZip   0xFFFF0007
 
#define rfbEncodingSolMonoZip   0xFFFF0008
 
#define rfbEncodingUltraZip   0xFFFF0009
 
#define rfbEncodingXvp   0xFFFFFECB
 
#define rfbEncodingFineQualityLevel0   0xFFFFFE00
 
#define rfbEncodingFineQualityLevel100   0xFFFFFE64
 
#define rfbEncodingSubsamp1X   0xFFFFFD00
 
#define rfbEncodingSubsamp4X   0xFFFFFD01
 
#define rfbEncodingSubsamp2X   0xFFFFFD02
 
#define rfbEncodingSubsampGray   0xFFFFFD03
 
#define rfbEncodingSubsamp8X   0xFFFFFD04
 
#define rfbEncodingSubsamp16X   0xFFFFFD05
 
#define rfbEncodingCompressLevel0   0xFFFFFF00
 
#define rfbEncodingCompressLevel1   0xFFFFFF01
 
#define rfbEncodingCompressLevel2   0xFFFFFF02
 
#define rfbEncodingCompressLevel3   0xFFFFFF03
 
#define rfbEncodingCompressLevel4   0xFFFFFF04
 
#define rfbEncodingCompressLevel5   0xFFFFFF05
 
#define rfbEncodingCompressLevel6   0xFFFFFF06
 
#define rfbEncodingCompressLevel7   0xFFFFFF07
 
#define rfbEncodingCompressLevel8   0xFFFFFF08
 
#define rfbEncodingCompressLevel9   0xFFFFFF09
 
#define rfbEncodingXCursor   0xFFFFFF10
 
#define rfbEncodingRichCursor   0xFFFFFF11
 
#define rfbEncodingPointerPos   0xFFFFFF18
 
#define rfbEncodingLastRect   0xFFFFFF20
 
#define rfbEncodingNewFBSize   0xFFFFFF21
 
#define rfbEncodingExtDesktopSize   0xFFFFFECC
 
#define rfbEncodingQualityLevel0   0xFFFFFFE0
 
#define rfbEncodingQualityLevel1   0xFFFFFFE1
 
#define rfbEncodingQualityLevel2   0xFFFFFFE2
 
#define rfbEncodingQualityLevel3   0xFFFFFFE3
 
#define rfbEncodingQualityLevel4   0xFFFFFFE4
 
#define rfbEncodingQualityLevel5   0xFFFFFFE5
 
#define rfbEncodingQualityLevel6   0xFFFFFFE6
 
#define rfbEncodingQualityLevel7   0xFFFFFFE7
 
#define rfbEncodingQualityLevel8   0xFFFFFFE8
 
#define rfbEncodingQualityLevel9   0xFFFFFFE9
 
#define rfbEncodingQemuExtendedKeyEvent   0xFFFFFEFE /* -258 */
 
#define rfbEncodingExtendedClipboard   0xC0A1E5CE
 
#define rfbEncodingKeyboardLedState   0xFFFE0000
 
#define rfbEncodingSupportedMessages   0xFFFE0001
 
#define rfbEncodingSupportedEncodings   0xFFFE0002
 
#define rfbEncodingServerIdentity   0xFFFE0003
 
#define sz_rfbFramebufferUpdateMsg   4
 
#define sz_rfbFramebufferUpdateRectHeader   (sz_rfbRectangle + 4)
 
#define sz_rfbSupportedMessages   64
 
#define rfbKeyboardMaskShift   1
 
#define rfbKeyboardMaskCapsLock   2
 
#define rfbKeyboardMaskControl   4
 
#define rfbKeyboardMaskAlt   8
 
#define rfbKeyboardMaskMeta   16
 
#define rfbKeyboardMaskSuper   32
 
#define rfbKeyboardMaskHyper   64
 
#define rfbKeyboardMaskNumLock   128
 
#define rfbKeyboardMaskScrollLock   256
 
#define rfbKeyboardMaskAltGraph   512
 
#define sz_rfbCopyRect   4
 
#define sz_rfbRREHeader   4
 
#define sz_rfbCoRRERectangle   4
 
#define rfbHextileRaw   (1 << 0)
 
#define rfbHextileBackgroundSpecified   (1 << 1)
 
#define rfbHextileForegroundSpecified   (1 << 2)
 
#define rfbHextileAnySubrects   (1 << 3)
 
#define rfbHextileSubrectsColoured   (1 << 4)
 
#define rfbHextilePackXY(x, y)   (((x) << 4) | (y))
 
#define rfbHextilePackWH(w, h)   ((((w)-1) << 4) | ((h)-1))
 
#define rfbHextileExtractX(byte)   ((byte) >> 4)
 
#define rfbHextileExtractY(byte)   ((byte) & 0xf)
 
#define rfbHextileExtractW(byte)   (((byte) >> 4) + 1)
 
#define rfbHextileExtractH(byte)   (((byte) & 0xf) + 1)
 
#define sz_rfbZlibHeader   4
 
#define sz_rfbXCursorColors   6
 
#define sz_rfbZRLEHeader   4
 
#define rfbZRLETileWidth   64
 
#define rfbZRLETileHeight   64
 
#define rfbHextileZlibRaw   (1 << 5)
 
#define rfbHextileZlibHex   (1 << 6)
 
#define rfbHextileZlibMono   (1 << 7)
 
#define sz_rfbSetColourMapEntriesMsg   6
 
#define sz_rfbBellMsg   1
 
#define sz_rfbServerCutTextMsg   8
 
#define sz_rfbFileTransferMsg   12
 
#define rfbFileTransferVersion   2 /* v1 is the old FT version ( <= 1.0.0 RC18 versions) */
 
#define rfbDirContentRequest   1 /* Client asks for the content of a given Server directory */
 
#define rfbDirPacket   2 /* Full directory name or full file name. */
 
#define rfbFileTransferRequest   3 /* Client asks the server for the transfer of a given file */
 
#define rfbFileHeader   4 /* First packet of a file transfer, containing file's features */
 
#define rfbFilePacket   5 /* One chunk of the file */
 
#define rfbEndOfFile   6 /* End of file transfer (the file has been received or error) */
 
#define rfbAbortFileTransfer   7 /* The file transfer must be aborted, whatever the state */
 
#define rfbFileTransferOffer   8 /* The client offers to send a file to the server */
 
#define rfbFileAcceptHeader   9 /* The server accepts or rejects the file */
 
#define rfbCommand   10 /* The Client sends a simple command (File Delete, Dir create etc...) */
 
#define rfbCommandReturn   11 /* The Client receives the server's answer about a simple command */
 
#define rfbFileChecksums   12 /* The zipped checksums of the destination file (Delta Transfer) */
 
#define rfbFileTransferAccess   14 /* Request FileTransfer authorization */
 
#define rfbRDirContent   1 /* Request a Server Directory contents */
 
#define rfbRDrivesList   2 /* Request the server's drives list */
 
#define rfbRDirRecursiveList   3 /* Request a server directory content recursive sorted list */
 
#define rfbRDirRecursiveSize   4 /* Request a server directory content recursive size */
 
#define rfbADirectory   1 /* Reception of a directory name */
 
#define rfbAFile   2 /* Reception of a file name */
 
#define rfbADrivesList   3 /* Reception of a list of drives */
 
#define rfbADirCreate   4 /* Response to a create dir command */
 
#define rfbADirDelete   5 /* Response to a delete dir command */
 
#define rfbAFileCreate   6 /* Response to a create file command */
 
#define rfbAFileDelete   7 /* Response to a delete file command */
 
#define rfbAFileRename   8 /* Response to a rename file command */
 
#define rfbADirRename   9 /* Response to a rename dir command */
 
#define rfbADirRecursiveListItem   10
 
#define rfbADirRecursiveSize   11
 
#define rfbCDirCreate   1 /* Request the server to create the given directory */
 
#define rfbCDirDelete   2 /* Request the server to delete the given directory */
 
#define rfbCFileCreate   3 /* Request the server to create the given file */
 
#define rfbCFileDelete   4 /* Request the server to delete the given file */
 
#define rfbCFileRename   5 /* Request the server to rename the given file */
 
#define rfbCDirRename   6 /* Request the server to rename the given directory */
 
#define rfbRErrorUnknownCmd   1 /* Unknown FileTransfer command. */
 
#define rfbRErrorCmd   0xFFFFFFFF/* Error when a command fails on remote side (ret in "size" field) */
 
#define sz_rfbBlockSize   8192 /* Size of a File Transfer packet (before compression) */
 
#define rfbZipDirectoryPrefix   "!UVNCDIR-\0" /* Transferred directory are zipped in a file with this prefix. Must end with "-" */
 
#define sz_rfbZipDirectoryPrefix   9
 
#define rfbDirPrefix   "[ "
 
#define rfbDirSuffix   " ]"
 
#define sz_rfbTextChatMsg   8
 
#define rfbTextMaxSize   4096
 
#define rfbTextChatOpen   0xFFFFFFFF
 
#define rfbTextChatClose   0xFFFFFFFE
 
#define rfbTextChatFinished   0xFFFFFFFD
 
#define sz_rfbXvpMsg   (4)
 
#define rfbXvp_Fail   0
 
#define rfbXvp_Init   1
 
#define rfbXvp_Shutdown   2
 
#define rfbXvp_Reboot   3
 
#define rfbXvp_Reset   4
 
#define sz_rfbExtDesktopSizeMsg   (4)
 
#define sz_rfbExtDesktopScreen   (16)
 
#define rfbExtDesktopSize_GenericChange   0
 
#define rfbExtDesktopSize_ClientRequestedChange   1
 
#define rfbExtDesktopSize_OtherClientRequestedChange   2
 
#define rfbExtDesktopSize_Success   0
 
#define rfbExtDesktopSize_ResizeProhibited   1
 
#define rfbExtDesktopSize_OutOfResources   2
 
#define rfbExtDesktopSize_InvalidScreenLayout   3
 
#define sz_rfbSetDesktopSizeMsg   (8)
 
#define sz_rfbResizeFrameBufferMsg   6
 
#define sz_rfbPalmVNCReSizeFrameBufferMsg   (12)
 
#define sz_rfbCacheRect   2
 
#define sz_rfbSetPixelFormatMsg   (sz_rfbPixelFormat + 4)
 
#define sz_rfbFixColourMapEntriesMsg   6
 
#define sz_rfbSetEncodingsMsg   4
 
#define sz_rfbFramebufferUpdateRequestMsg   10
 
#define sz_rfbKeyEventMsg   8
 
#define sz_rfbQemuExtendedKeyEventMsg   12
 
#define rfbButton1Mask   1
 
#define rfbButton2Mask   2
 
#define rfbButton3Mask   4
 
#define rfbButton4Mask   8
 
#define rfbButton5Mask   16
 
#define rfbWheelUpMask   rfbButton4Mask
 
#define rfbWheelDownMask   rfbButton5Mask
 
#define sz_rfbPointerEventMsg   6
 
#define rfbExtendedClipboard_Text   1
 
#define rfbExtendedClipboard_RTF   2
 
#define rfbExtendedClipboard_HTML   4
 
#define rfbExtendedClipboard_DIB   8
 
#define rfbExtendedClipboard_Files   16
 
#define rfbExtendedClipboard_Caps   (1 << 24)
 
#define rfbExtendedClipboard_Request   (1 << 25)
 
#define rfbExtendedClipboard_Peek   (1 << 26)
 
#define rfbExtendedClipboard_Notify   (1 << 27)
 
#define rfbExtendedClipboard_Provide   (1 << 28)
 
#define sz_rfbClientCutTextMsg   8
 
#define sz_rfbSetScaleMsg   4
 
#define sz_rfbPalmVNCSetScaleFactorMsg   (4)
 
#define sz_rfbSetServerInputMsg   4
 
#define sz_rfbSetSWMsg   6
 
#define MAXPWLEN   8
 
#define CHALLENGESIZE   16
 

Typedefs

typedef int8_t rfbBool
 
typedef uint32_t rfbKeySym
 
typedef uint32_t rfbPixel
 
typedef char rfbProtocolVersionMsg[13]
 

Functions

int rfbEncryptAndStorePasswd (char *passwd, char *fname)
 
char * rfbDecryptPasswdFromFile (char *fname)
 
void rfbRandomBytes (unsigned char *bytes)
 
void rfbEncryptBytes (unsigned char *bytes, char *passwd)
 

Macro Definition Documentation

◆ _rfbCloseSocket

#define _rfbCloseSocket   close

Definition at line 107 of file rfbproto.h.

◆ CHALLENGESIZE

#define CHALLENGESIZE   16

Definition at line 1555 of file rfbproto.h.

◆ FALSE

#define FALSE   0

◆ INADDR_NONE

#define INADDR_NONE   ((in_addr_t) 0xffffffff)

Definition at line 130 of file rfbproto.h.

◆ MAX_ENCODINGS

#define MAX_ENCODINGS   64

Definition at line 133 of file rfbproto.h.

◆ MAXPWLEN

#define MAXPWLEN   8

Definition at line 1554 of file rfbproto.h.

◆ RFB_INVALID_SOCKET

#define RFB_INVALID_SOCKET   (-1)

Definition at line 106 of file rfbproto.h.

◆ rfbAbortFileTransfer

#define rfbAbortFileTransfer   7 /* The file transfer must be aborted, whatever the state */

Definition at line 1049 of file rfbproto.h.

◆ rfbADirCreate

#define rfbADirCreate   4 /* Response to a create dir command */

Definition at line 1067 of file rfbproto.h.

◆ rfbADirDelete

#define rfbADirDelete   5 /* Response to a delete dir command */

Definition at line 1068 of file rfbproto.h.

◆ rfbADirectory

#define rfbADirectory   1 /* Reception of a directory name */

Definition at line 1064 of file rfbproto.h.

◆ rfbADirRecursiveListItem

#define rfbADirRecursiveListItem   10

Definition at line 1073 of file rfbproto.h.

◆ rfbADirRecursiveSize

#define rfbADirRecursiveSize   11

Definition at line 1074 of file rfbproto.h.

◆ rfbADirRename

#define rfbADirRename   9 /* Response to a rename dir command */

Definition at line 1072 of file rfbproto.h.

◆ rfbADrivesList

#define rfbADrivesList   3 /* Reception of a list of drives */

Definition at line 1066 of file rfbproto.h.

◆ rfbAFile

#define rfbAFile   2 /* Reception of a file name */

Definition at line 1065 of file rfbproto.h.

◆ rfbAFileCreate

#define rfbAFileCreate   6 /* Response to a create file command */

Definition at line 1069 of file rfbproto.h.

◆ rfbAFileDelete

#define rfbAFileDelete   7 /* Response to a delete file command */

Definition at line 1070 of file rfbproto.h.

◆ rfbAFileRename

#define rfbAFileRename   8 /* Response to a rename file command */

Definition at line 1071 of file rfbproto.h.

◆ rfbARD

#define rfbARD   30

Definition at line 303 of file rfbproto.h.

◆ rfbBell

#define rfbBell   2

Definition at line 406 of file rfbproto.h.

◆ rfbButton1Mask

#define rfbButton1Mask   1
Examples
SDLvncviewer.c.

Definition at line 1429 of file rfbproto.h.

◆ rfbButton2Mask

#define rfbButton2Mask   2
Examples
SDLvncviewer.c.

Definition at line 1430 of file rfbproto.h.

◆ rfbButton3Mask

#define rfbButton3Mask   4
Examples
SDLvncviewer.c.

Definition at line 1431 of file rfbproto.h.

◆ rfbButton4Mask

#define rfbButton4Mask   8
Examples
SDLvncviewer.c.

Definition at line 1432 of file rfbproto.h.

◆ rfbButton5Mask

#define rfbButton5Mask   16
Examples
SDLvncviewer.c.

Definition at line 1433 of file rfbproto.h.

◆ rfbCDirCreate

#define rfbCDirCreate   1 /* Request the server to create the given directory */

Definition at line 1077 of file rfbproto.h.

◆ rfbCDirDelete

#define rfbCDirDelete   2 /* Request the server to delete the given directory */

Definition at line 1078 of file rfbproto.h.

◆ rfbCDirRename

#define rfbCDirRename   6 /* Request the server to rename the given directory */

Definition at line 1082 of file rfbproto.h.

◆ rfbCFileCreate

#define rfbCFileCreate   3 /* Request the server to create the given file */

Definition at line 1079 of file rfbproto.h.

◆ rfbCFileDelete

#define rfbCFileDelete   4 /* Request the server to delete the given file */

Definition at line 1080 of file rfbproto.h.

◆ rfbCFileRename

#define rfbCFileRename   5 /* Request the server to rename the given file */

Definition at line 1081 of file rfbproto.h.

◆ rfbClientCutText

#define rfbClientCutText   6

Definition at line 420 of file rfbproto.h.

◆ rfbCloseSocket

#define rfbCloseSocket (   s)
Value:
{ \
if (s != RFB_INVALID_SOCKET) { \
_rfbCloseSocket(s); \
} \
}
#define RFB_INVALID_SOCKET
Definition: rfbproto.h:106

Definition at line 114 of file rfbproto.h.

◆ rfbCommand

#define rfbCommand   10 /* The Client sends a simple command (File Delete, Dir create etc...) */

Definition at line 1052 of file rfbproto.h.

◆ rfbCommandReturn

#define rfbCommandReturn   11 /* The Client receives the server's answer about a simple command */

Definition at line 1053 of file rfbproto.h.

◆ rfbConnFailed

#define rfbConnFailed   0

Definition at line 290 of file rfbproto.h.

◆ rfbDirContentRequest

#define rfbDirContentRequest   1 /* Client asks for the content of a given Server directory */

Definition at line 1042 of file rfbproto.h.

◆ rfbDirPacket

#define rfbDirPacket   2 /* Full directory name or full file name. */

Definition at line 1043 of file rfbproto.h.

◆ rfbDirPrefix

#define rfbDirPrefix   "[ "

Definition at line 1091 of file rfbproto.h.

◆ rfbDirSuffix

#define rfbDirSuffix   " ]"

Definition at line 1092 of file rfbproto.h.

◆ rfbEncodingCache

#define rfbEncodingCache   0xFFFF0000

Definition at line 466 of file rfbproto.h.

◆ rfbEncodingCacheEnable

#define rfbEncodingCacheEnable   0xFFFF0001

Definition at line 467 of file rfbproto.h.

◆ rfbEncodingCacheZip

#define rfbEncodingCacheZip   0xFFFF0007

Definition at line 473 of file rfbproto.h.

◆ rfbEncodingCompressLevel0

#define rfbEncodingCompressLevel0   0xFFFFFF00

Definition at line 501 of file rfbproto.h.

◆ rfbEncodingCompressLevel1

#define rfbEncodingCompressLevel1   0xFFFFFF01

Definition at line 502 of file rfbproto.h.

◆ rfbEncodingCompressLevel2

#define rfbEncodingCompressLevel2   0xFFFFFF02

Definition at line 503 of file rfbproto.h.

◆ rfbEncodingCompressLevel3

#define rfbEncodingCompressLevel3   0xFFFFFF03

Definition at line 504 of file rfbproto.h.

◆ rfbEncodingCompressLevel4

#define rfbEncodingCompressLevel4   0xFFFFFF04

Definition at line 505 of file rfbproto.h.

◆ rfbEncodingCompressLevel5

#define rfbEncodingCompressLevel5   0xFFFFFF05

Definition at line 506 of file rfbproto.h.

◆ rfbEncodingCompressLevel6

#define rfbEncodingCompressLevel6   0xFFFFFF06

Definition at line 507 of file rfbproto.h.

◆ rfbEncodingCompressLevel7

#define rfbEncodingCompressLevel7   0xFFFFFF07

Definition at line 508 of file rfbproto.h.

◆ rfbEncodingCompressLevel8

#define rfbEncodingCompressLevel8   0xFFFFFF08

Definition at line 509 of file rfbproto.h.

◆ rfbEncodingCompressLevel9

#define rfbEncodingCompressLevel9   0xFFFFFF09

Definition at line 510 of file rfbproto.h.

◆ rfbEncodingCopyRect

#define rfbEncodingCopyRect   1

Definition at line 450 of file rfbproto.h.

◆ rfbEncodingCoRRE

#define rfbEncodingCoRRE   4

Definition at line 452 of file rfbproto.h.

◆ rfbEncodingExtDesktopSize

#define rfbEncodingExtDesktopSize   0xFFFFFECC

Definition at line 518 of file rfbproto.h.

◆ rfbEncodingExtendedClipboard

#define rfbEncodingExtendedClipboard   0xC0A1E5CE

Definition at line 532 of file rfbproto.h.

◆ rfbEncodingFineQualityLevel0

#define rfbEncodingFineQualityLevel0   0xFFFFFE00

Definition at line 492 of file rfbproto.h.

◆ rfbEncodingFineQualityLevel100

#define rfbEncodingFineQualityLevel100   0xFFFFFE64

Definition at line 493 of file rfbproto.h.

◆ rfbEncodingH264

#define rfbEncodingH264   0x48323634

Definition at line 463 of file rfbproto.h.

◆ rfbEncodingHextile

#define rfbEncodingHextile   5

Definition at line 453 of file rfbproto.h.

◆ rfbEncodingKeyboardLedState

#define rfbEncodingKeyboardLedState   0xFFFE0000

Definition at line 535 of file rfbproto.h.

◆ rfbEncodingLastRect

#define rfbEncodingLastRect   0xFFFFFF20

Definition at line 516 of file rfbproto.h.

◆ rfbEncodingNewFBSize

#define rfbEncodingNewFBSize   0xFFFFFF21

Definition at line 517 of file rfbproto.h.

◆ rfbEncodingPointerPos

#define rfbEncodingPointerPos   0xFFFFFF18

Definition at line 514 of file rfbproto.h.

◆ rfbEncodingQemuExtendedKeyEvent

#define rfbEncodingQemuExtendedKeyEvent   0xFFFFFEFE /* -258 */

Definition at line 531 of file rfbproto.h.

◆ rfbEncodingQualityLevel0

#define rfbEncodingQualityLevel0   0xFFFFFFE0

Definition at line 520 of file rfbproto.h.

◆ rfbEncodingQualityLevel1

#define rfbEncodingQualityLevel1   0xFFFFFFE1

Definition at line 521 of file rfbproto.h.

◆ rfbEncodingQualityLevel2

#define rfbEncodingQualityLevel2   0xFFFFFFE2

Definition at line 522 of file rfbproto.h.

◆ rfbEncodingQualityLevel3

#define rfbEncodingQualityLevel3   0xFFFFFFE3

Definition at line 523 of file rfbproto.h.

◆ rfbEncodingQualityLevel4

#define rfbEncodingQualityLevel4   0xFFFFFFE4

Definition at line 524 of file rfbproto.h.

◆ rfbEncodingQualityLevel5

#define rfbEncodingQualityLevel5   0xFFFFFFE5

Definition at line 525 of file rfbproto.h.

◆ rfbEncodingQualityLevel6

#define rfbEncodingQualityLevel6   0xFFFFFFE6

Definition at line 526 of file rfbproto.h.

◆ rfbEncodingQualityLevel7

#define rfbEncodingQualityLevel7   0xFFFFFFE7

Definition at line 527 of file rfbproto.h.

◆ rfbEncodingQualityLevel8

#define rfbEncodingQualityLevel8   0xFFFFFFE8

Definition at line 528 of file rfbproto.h.

◆ rfbEncodingQualityLevel9

#define rfbEncodingQualityLevel9   0xFFFFFFE9

Definition at line 529 of file rfbproto.h.

◆ rfbEncodingRaw

#define rfbEncodingRaw   0

Definition at line 449 of file rfbproto.h.

◆ rfbEncodingRichCursor

#define rfbEncodingRichCursor   0xFFFFFF11

Definition at line 513 of file rfbproto.h.

◆ rfbEncodingRRE

#define rfbEncodingRRE   2

Definition at line 451 of file rfbproto.h.

◆ rfbEncodingServerIdentity

#define rfbEncodingServerIdentity   0xFFFE0003

Definition at line 538 of file rfbproto.h.

◆ rfbEncodingSolidColor

#define rfbEncodingSolidColor   0xFFFF0005

Definition at line 471 of file rfbproto.h.

◆ rfbEncodingSolMonoZip

#define rfbEncodingSolMonoZip   0xFFFF0008

Definition at line 474 of file rfbproto.h.

◆ rfbEncodingSubsamp16X

#define rfbEncodingSubsamp16X   0xFFFFFD05

Definition at line 499 of file rfbproto.h.

◆ rfbEncodingSubsamp1X

#define rfbEncodingSubsamp1X   0xFFFFFD00

Definition at line 494 of file rfbproto.h.

◆ rfbEncodingSubsamp2X

#define rfbEncodingSubsamp2X   0xFFFFFD02

Definition at line 496 of file rfbproto.h.

◆ rfbEncodingSubsamp4X

#define rfbEncodingSubsamp4X   0xFFFFFD01

Definition at line 495 of file rfbproto.h.

◆ rfbEncodingSubsamp8X

#define rfbEncodingSubsamp8X   0xFFFFFD04

Definition at line 498 of file rfbproto.h.

◆ rfbEncodingSubsampGray

#define rfbEncodingSubsampGray   0xFFFFFD03

Definition at line 497 of file rfbproto.h.

◆ rfbEncodingSupportedEncodings

#define rfbEncodingSupportedEncodings   0xFFFE0002

Definition at line 537 of file rfbproto.h.

◆ rfbEncodingSupportedMessages

#define rfbEncodingSupportedMessages   0xFFFE0001

Definition at line 536 of file rfbproto.h.

◆ rfbEncodingTight

#define rfbEncodingTight   7

Definition at line 455 of file rfbproto.h.

◆ rfbEncodingTightPng

#define rfbEncodingTightPng   0xFFFFFEFC /* -260 */

Definition at line 456 of file rfbproto.h.

◆ rfbEncodingTRLE

#define rfbEncodingTRLE   15

Definition at line 459 of file rfbproto.h.

◆ rfbEncodingUltra

#define rfbEncodingUltra   9

Definition at line 458 of file rfbproto.h.

◆ rfbEncodingUltraZip

#define rfbEncodingUltraZip   0xFFFF0009

Definition at line 475 of file rfbproto.h.

◆ rfbEncodingXCursor

#define rfbEncodingXCursor   0xFFFFFF10

Definition at line 512 of file rfbproto.h.

◆ rfbEncodingXOR_Zlib

#define rfbEncodingXOR_Zlib   0xFFFF0002

Definition at line 468 of file rfbproto.h.

◆ rfbEncodingXOREnable

#define rfbEncodingXOREnable   0xFFFF0006

Definition at line 472 of file rfbproto.h.

◆ rfbEncodingXORMonoColor_Zlib

#define rfbEncodingXORMonoColor_Zlib   0xFFFF0003

Definition at line 469 of file rfbproto.h.

◆ rfbEncodingXORMultiColor_Zlib

#define rfbEncodingXORMultiColor_Zlib   0xFFFF0004

Definition at line 470 of file rfbproto.h.

◆ rfbEncodingXvp

#define rfbEncodingXvp   0xFFFFFECB

Definition at line 478 of file rfbproto.h.

◆ rfbEncodingZlib

#define rfbEncodingZlib   6

Definition at line 454 of file rfbproto.h.

◆ rfbEncodingZlibHex

#define rfbEncodingZlibHex   8

Definition at line 457 of file rfbproto.h.

◆ rfbEncodingZRLE

#define rfbEncodingZRLE   16

Definition at line 460 of file rfbproto.h.

◆ rfbEncodingZYWRLE

#define rfbEncodingZYWRLE   17

Definition at line 461 of file rfbproto.h.

◆ rfbEndOfFile

#define rfbEndOfFile   6 /* End of file transfer (the file has been received or error) */

Definition at line 1048 of file rfbproto.h.

◆ rfbExtDesktopSize_ClientRequestedChange

#define rfbExtDesktopSize_ClientRequestedChange   1

Definition at line 1185 of file rfbproto.h.

◆ rfbExtDesktopSize_GenericChange

#define rfbExtDesktopSize_GenericChange   0

Definition at line 1184 of file rfbproto.h.

◆ rfbExtDesktopSize_InvalidScreenLayout

#define rfbExtDesktopSize_InvalidScreenLayout   3

Definition at line 1192 of file rfbproto.h.

◆ rfbExtDesktopSize_OtherClientRequestedChange

#define rfbExtDesktopSize_OtherClientRequestedChange   2

Definition at line 1186 of file rfbproto.h.

◆ rfbExtDesktopSize_OutOfResources

#define rfbExtDesktopSize_OutOfResources   2

Definition at line 1191 of file rfbproto.h.

◆ rfbExtDesktopSize_ResizeProhibited

#define rfbExtDesktopSize_ResizeProhibited   1

Definition at line 1190 of file rfbproto.h.

◆ rfbExtDesktopSize_Success

#define rfbExtDesktopSize_Success   0

Definition at line 1189 of file rfbproto.h.

◆ rfbExtendedClipboard_Caps

#define rfbExtendedClipboard_Caps   (1 << 24)

Definition at line 1459 of file rfbproto.h.

◆ rfbExtendedClipboard_DIB

#define rfbExtendedClipboard_DIB   8

Definition at line 1457 of file rfbproto.h.

◆ rfbExtendedClipboard_Files

#define rfbExtendedClipboard_Files   16

Definition at line 1458 of file rfbproto.h.

◆ rfbExtendedClipboard_HTML

#define rfbExtendedClipboard_HTML   4

Definition at line 1456 of file rfbproto.h.

◆ rfbExtendedClipboard_Notify

#define rfbExtendedClipboard_Notify   (1 << 27)

Definition at line 1462 of file rfbproto.h.

◆ rfbExtendedClipboard_Peek

#define rfbExtendedClipboard_Peek   (1 << 26)

Definition at line 1461 of file rfbproto.h.

◆ rfbExtendedClipboard_Provide

#define rfbExtendedClipboard_Provide   (1 << 28)

Definition at line 1463 of file rfbproto.h.

◆ rfbExtendedClipboard_Request

#define rfbExtendedClipboard_Request   (1 << 25)

Definition at line 1460 of file rfbproto.h.

◆ rfbExtendedClipboard_RTF

#define rfbExtendedClipboard_RTF   2

Definition at line 1455 of file rfbproto.h.

◆ rfbExtendedClipboard_Text

#define rfbExtendedClipboard_Text   1

Definition at line 1454 of file rfbproto.h.

◆ rfbFileAcceptHeader

#define rfbFileAcceptHeader   9 /* The server accepts or rejects the file */

Definition at line 1051 of file rfbproto.h.

◆ rfbFileChecksums

#define rfbFileChecksums   12 /* The zipped checksums of the destination file (Delta Transfer) */

Definition at line 1054 of file rfbproto.h.

◆ rfbFileHeader

#define rfbFileHeader   4 /* First packet of a file transfer, containing file's features */

Definition at line 1046 of file rfbproto.h.

◆ rfbFilePacket

#define rfbFilePacket   5 /* One chunk of the file */

Definition at line 1047 of file rfbproto.h.

◆ rfbFileTransfer

#define rfbFileTransfer   7

Definition at line 422 of file rfbproto.h.

◆ rfbFileTransferAccess

#define rfbFileTransferAccess   14 /* Request FileTransfer authorization */

Definition at line 1055 of file rfbproto.h.

◆ rfbFileTransferOffer

#define rfbFileTransferOffer   8 /* The client offers to send a file to the server */

Definition at line 1050 of file rfbproto.h.

◆ rfbFileTransferRequest

#define rfbFileTransferRequest   3 /* Client asks the server for the transfer of a given file */

Definition at line 1045 of file rfbproto.h.

◆ rfbFileTransferVersion

#define rfbFileTransferVersion   2 /* v1 is the old FT version ( <= 1.0.0 RC18 versions) */

Definition at line 1039 of file rfbproto.h.

◆ rfbFixColourMapEntries

#define rfbFixColourMapEntries   1 /* not currently supported */

Definition at line 415 of file rfbproto.h.

◆ rfbFramebufferUpdate

#define rfbFramebufferUpdate   0

Definition at line 404 of file rfbproto.h.

◆ rfbFramebufferUpdateRequest

#define rfbFramebufferUpdateRequest   3

Definition at line 417 of file rfbproto.h.

◆ rfbHextileAnySubrects

#define rfbHextileAnySubrects   (1 << 3)

Definition at line 718 of file rfbproto.h.

◆ rfbHextileBackgroundSpecified

#define rfbHextileBackgroundSpecified   (1 << 1)

Definition at line 716 of file rfbproto.h.

◆ rfbHextileExtractH

#define rfbHextileExtractH (   byte)    (((byte) & 0xf) + 1)

Definition at line 726 of file rfbproto.h.

◆ rfbHextileExtractW

#define rfbHextileExtractW (   byte)    (((byte) >> 4) + 1)

Definition at line 725 of file rfbproto.h.

◆ rfbHextileExtractX

#define rfbHextileExtractX (   byte)    ((byte) >> 4)

Definition at line 723 of file rfbproto.h.

◆ rfbHextileExtractY

#define rfbHextileExtractY (   byte)    ((byte) & 0xf)

Definition at line 724 of file rfbproto.h.

◆ rfbHextileForegroundSpecified

#define rfbHextileForegroundSpecified   (1 << 2)

Definition at line 717 of file rfbproto.h.

◆ rfbHextilePackWH

#define rfbHextilePackWH (   w,
 
)    ((((w)-1) << 4) | ((h)-1))

Definition at line 722 of file rfbproto.h.

◆ rfbHextilePackXY

#define rfbHextilePackXY (   x,
  y 
)    (((x) << 4) | (y))

Definition at line 721 of file rfbproto.h.

◆ rfbHextileRaw

#define rfbHextileRaw   (1 << 0)

Definition at line 715 of file rfbproto.h.

◆ rfbHextileSubrectsColoured

#define rfbHextileSubrectsColoured   (1 << 4)

Definition at line 719 of file rfbproto.h.

◆ rfbHextileZlibHex

#define rfbHextileZlibHex   (1 << 6)

Definition at line 965 of file rfbproto.h.

◆ rfbHextileZlibMono

#define rfbHextileZlibMono   (1 << 7)

Definition at line 966 of file rfbproto.h.

◆ rfbHextileZlibRaw

#define rfbHextileZlibRaw   (1 << 5)

Definition at line 964 of file rfbproto.h.

◆ rfbKeyboardMaskAlt

#define rfbKeyboardMaskAlt   8

Definition at line 623 of file rfbproto.h.

◆ rfbKeyboardMaskAltGraph

#define rfbKeyboardMaskAltGraph   512

Definition at line 629 of file rfbproto.h.

◆ rfbKeyboardMaskCapsLock

#define rfbKeyboardMaskCapsLock   2

Definition at line 621 of file rfbproto.h.

◆ rfbKeyboardMaskControl

#define rfbKeyboardMaskControl   4

Definition at line 622 of file rfbproto.h.

◆ rfbKeyboardMaskHyper

#define rfbKeyboardMaskHyper   64

Definition at line 626 of file rfbproto.h.

◆ rfbKeyboardMaskMeta

#define rfbKeyboardMaskMeta   16

Definition at line 624 of file rfbproto.h.

◆ rfbKeyboardMaskNumLock

#define rfbKeyboardMaskNumLock   128

Definition at line 627 of file rfbproto.h.

◆ rfbKeyboardMaskScrollLock

#define rfbKeyboardMaskScrollLock   256

Definition at line 628 of file rfbproto.h.

◆ rfbKeyboardMaskShift

#define rfbKeyboardMaskShift   1

Definition at line 620 of file rfbproto.h.

◆ rfbKeyboardMaskSuper

#define rfbKeyboardMaskSuper   32

Definition at line 625 of file rfbproto.h.

◆ rfbKeyEvent

#define rfbKeyEvent   4

Definition at line 418 of file rfbproto.h.

◆ rfbMax

#define rfbMax (   a,
 
)    (((a)>(b))?(a):(b))

Definition at line 92 of file rfbproto.h.

◆ rfbMSLogon

#define rfbMSLogon   0xfffffffa

Definition at line 306 of file rfbproto.h.

◆ rfbNoAuth

#define rfbNoAuth   1

Definition at line 291 of file rfbproto.h.

◆ rfbPalmVNCReSizeFrameBuffer

#define rfbPalmVNCReSizeFrameBuffer   0xF

Definition at line 410 of file rfbproto.h.

◆ rfbPalmVNCSetScaleFactor

#define rfbPalmVNCSetScaleFactor   0xF

Definition at line 433 of file rfbproto.h.

◆ rfbPF256Colors

#define rfbPF256Colors   1

Definition at line 213 of file rfbproto.h.

◆ rfbPF2GreyColors

#define rfbPF2GreyColors   6

Definition at line 218 of file rfbproto.h.

◆ rfbPF4GreyColors

#define rfbPF4GreyColors   5

Definition at line 217 of file rfbproto.h.

◆ rfbPF64Colors

#define rfbPF64Colors   2

Definition at line 214 of file rfbproto.h.

◆ rfbPF8Colors

#define rfbPF8Colors   3

Definition at line 215 of file rfbproto.h.

◆ rfbPF8GreyColors

#define rfbPF8GreyColors   4

Definition at line 216 of file rfbproto.h.

◆ rfbPFFullColors

#define rfbPFFullColors   0

Definition at line 212 of file rfbproto.h.

◆ rfbPointerEvent

#define rfbPointerEvent   5

Definition at line 419 of file rfbproto.h.

◆ rfbProtocolMajorVersion

#define rfbProtocolMajorVersion   3

Definition at line 253 of file rfbproto.h.

◆ rfbProtocolMinorVersion

#define rfbProtocolMinorVersion   8

Definition at line 254 of file rfbproto.h.

◆ rfbProtocolVersionFormat

#define rfbProtocolVersionFormat   "RFB %03d.%03d\n"

Definition at line 252 of file rfbproto.h.

◆ rfbQemuEvent

#define rfbQemuEvent   255

Definition at line 438 of file rfbproto.h.

◆ rfbRA2

#define rfbRA2   5

Definition at line 294 of file rfbproto.h.

◆ rfbRA2ne

#define rfbRA2ne   6

Definition at line 295 of file rfbproto.h.

◆ rfbRDirContent

#define rfbRDirContent   1 /* Request a Server Directory contents */

Definition at line 1058 of file rfbproto.h.

◆ rfbRDirRecursiveList

#define rfbRDirRecursiveList   3 /* Request a server directory content recursive sorted list */

Definition at line 1060 of file rfbproto.h.

◆ rfbRDirRecursiveSize

#define rfbRDirRecursiveSize   4 /* Request a server directory content recursive size */

Definition at line 1061 of file rfbproto.h.

◆ rfbRDrivesList

#define rfbRDrivesList   2 /* Request the server's drives list */

Definition at line 1059 of file rfbproto.h.

◆ rfbRErrorCmd

#define rfbRErrorCmd   0xFFFFFFFF/* Error when a command fails on remote side (ret in "size" field) */

Definition at line 1086 of file rfbproto.h.

◆ rfbRErrorUnknownCmd

#define rfbRErrorUnknownCmd   1 /* Unknown FileTransfer command. */

Definition at line 1085 of file rfbproto.h.

◆ rfbResizeFrameBuffer

#define rfbResizeFrameBuffer   4

Definition at line 409 of file rfbproto.h.

◆ rfbSASL

#define rfbSASL   20

Definition at line 302 of file rfbproto.h.

◆ rfbSecTypeInvalid

#define rfbSecTypeInvalid   0

Definition at line 276 of file rfbproto.h.

◆ rfbSecTypeNone

#define rfbSecTypeNone   1

Definition at line 277 of file rfbproto.h.

◆ rfbSecTypeVncAuth

#define rfbSecTypeVncAuth   2

Definition at line 278 of file rfbproto.h.

◆ rfbServerCutText

#define rfbServerCutText   3

Definition at line 407 of file rfbproto.h.

◆ rfbSetColourMapEntries

#define rfbSetColourMapEntries   1

Definition at line 405 of file rfbproto.h.

◆ rfbSetDesktopSize

#define rfbSetDesktopSize   251

Definition at line 437 of file rfbproto.h.

◆ rfbSetEncodings

#define rfbSetEncodings   2

Definition at line 416 of file rfbproto.h.

◆ rfbSetPixelFormat

#define rfbSetPixelFormat   0

Definition at line 414 of file rfbproto.h.

◆ rfbSetScale

#define rfbSetScale   8

Definition at line 424 of file rfbproto.h.

◆ rfbSetServerInput

#define rfbSetServerInput   9

Definition at line 426 of file rfbproto.h.

◆ rfbSetSW

#define rfbSetSW   10

Definition at line 428 of file rfbproto.h.

◆ rfbSocket

#define rfbSocket   int

Definition at line 104 of file rfbproto.h.

◆ rfbSSPI

#define rfbSSPI   7

Definition at line 296 of file rfbproto.h.

◆ rfbSSPIne

#define rfbSSPIne   8

Definition at line 297 of file rfbproto.h.

◆ rfbTextChat

#define rfbTextChat   11

Definition at line 430 of file rfbproto.h.

◆ rfbTextChatClose

#define rfbTextChatClose   0xFFFFFFFE
Examples
SDLvncviewer.c.

Definition at line 1114 of file rfbproto.h.

◆ rfbTextChatFinished

#define rfbTextChatFinished   0xFFFFFFFD
Examples
SDLvncviewer.c.

Definition at line 1115 of file rfbproto.h.

◆ rfbTextChatOpen

#define rfbTextChatOpen   0xFFFFFFFF
Examples
SDLvncviewer.c.

Definition at line 1113 of file rfbproto.h.

◆ rfbTextMaxSize

#define rfbTextMaxSize   4096

Definition at line 1112 of file rfbproto.h.

◆ rfbTight

#define rfbTight   16

Definition at line 298 of file rfbproto.h.

◆ rfbTLS

#define rfbTLS   18

Definition at line 300 of file rfbproto.h.

◆ rfbUltra

#define rfbUltra   17

Definition at line 299 of file rfbproto.h.

◆ rfbUltraMSLogonI

#define rfbUltraMSLogonI   0x70 /* UNIMPLEMENTED */

Definition at line 304 of file rfbproto.h.

◆ rfbUltraMSLogonII

#define rfbUltraMSLogonII   0x71

Definition at line 305 of file rfbproto.h.

◆ rfbVeNCrypt

#define rfbVeNCrypt   19

Definition at line 301 of file rfbproto.h.

◆ rfbVeNCryptPlain

#define rfbVeNCryptPlain   256

Definition at line 308 of file rfbproto.h.

◆ rfbVeNCryptTLSNone

#define rfbVeNCryptTLSNone   257

Definition at line 309 of file rfbproto.h.

◆ rfbVeNCryptTLSPlain

#define rfbVeNCryptTLSPlain   259

Definition at line 311 of file rfbproto.h.

◆ rfbVeNCryptTLSSASL

#define rfbVeNCryptTLSSASL   264

Definition at line 316 of file rfbproto.h.

◆ rfbVeNCryptTLSVNC

#define rfbVeNCryptTLSVNC   258

Definition at line 310 of file rfbproto.h.

◆ rfbVeNCryptX509None

#define rfbVeNCryptX509None   260

Definition at line 312 of file rfbproto.h.

◆ rfbVeNCryptX509Plain

#define rfbVeNCryptX509Plain   262

Definition at line 314 of file rfbproto.h.

◆ rfbVeNCryptX509SASL

#define rfbVeNCryptX509SASL   263

Definition at line 315 of file rfbproto.h.

◆ rfbVeNCryptX509VNC

#define rfbVeNCryptX509VNC   261

Definition at line 313 of file rfbproto.h.

◆ rfbVncAuth

#define rfbVncAuth   2

Definition at line 292 of file rfbproto.h.

◆ rfbVncAuthFailed

#define rfbVncAuthFailed   1

Definition at line 341 of file rfbproto.h.

◆ rfbVncAuthOK

#define rfbVncAuthOK   0

Definition at line 340 of file rfbproto.h.

◆ rfbVncAuthTooMany

#define rfbVncAuthTooMany   2

Definition at line 342 of file rfbproto.h.

◆ rfbWheelDownMask

#define rfbWheelDownMask   rfbButton5Mask

Definition at line 1436 of file rfbproto.h.

◆ rfbWheelUpMask

#define rfbWheelUpMask   rfbButton4Mask

Definition at line 1435 of file rfbproto.h.

◆ rfbXvp

#define rfbXvp   250

Definition at line 435 of file rfbproto.h.

◆ rfbXvp_Fail

#define rfbXvp_Fail   0

Definition at line 1149 of file rfbproto.h.

◆ rfbXvp_Init

#define rfbXvp_Init   1

Definition at line 1150 of file rfbproto.h.

◆ rfbXvp_Reboot

#define rfbXvp_Reboot   3

Definition at line 1153 of file rfbproto.h.

◆ rfbXvp_Reset

#define rfbXvp_Reset   4

Definition at line 1154 of file rfbproto.h.

◆ rfbXvp_Shutdown

#define rfbXvp_Shutdown   2

Definition at line 1152 of file rfbproto.h.

◆ rfbZipDirectoryPrefix

#define rfbZipDirectoryPrefix   "!UVNCDIR-\0" /* Transferred directory are zipped in a file with this prefix. Must end with "-" */

Definition at line 1089 of file rfbproto.h.

◆ rfbZRLETileHeight

#define rfbZRLETileHeight   64

Definition at line 951 of file rfbproto.h.

◆ rfbZRLETileWidth

#define rfbZRLETileWidth   64

Definition at line 950 of file rfbproto.h.

◆ SOCKET

#define SOCKET   int /* LibVNCServer versions older than 0.9.13 defined this for non-Windows, so keep it here */

Definition at line 105 of file rfbproto.h.

◆ sz_rfbBellMsg

#define sz_rfbBellMsg   1

Definition at line 1001 of file rfbproto.h.

◆ sz_rfbBlockSize

#define sz_rfbBlockSize   8192 /* Size of a File Transfer packet (before compression) */

Definition at line 1088 of file rfbproto.h.

◆ sz_rfbCacheRect

#define sz_rfbCacheRect   2

Definition at line 1284 of file rfbproto.h.

◆ sz_rfbClientCutTextMsg

#define sz_rfbClientCutTextMsg   8

Definition at line 1464 of file rfbproto.h.

◆ sz_rfbClientInitMsg

#define sz_rfbClientInitMsg   1

Definition at line 359 of file rfbproto.h.

◆ sz_rfbCopyRect

#define sz_rfbCopyRect   4

Definition at line 641 of file rfbproto.h.

◆ sz_rfbCoRRERectangle

#define sz_rfbCoRRERectangle   4

Definition at line 673 of file rfbproto.h.

◆ sz_rfbExtDesktopScreen

#define sz_rfbExtDesktopScreen   (16)

Definition at line 1181 of file rfbproto.h.

◆ sz_rfbExtDesktopSizeMsg

#define sz_rfbExtDesktopSizeMsg   (4)

Definition at line 1180 of file rfbproto.h.

◆ sz_rfbFileTransferMsg

#define sz_rfbFileTransferMsg   12

Definition at line 1037 of file rfbproto.h.

◆ sz_rfbFixColourMapEntriesMsg

#define sz_rfbFixColourMapEntriesMsg   6

Definition at line 1329 of file rfbproto.h.

◆ sz_rfbFramebufferUpdateMsg

#define sz_rfbFramebufferUpdateMsg   4

Definition at line 564 of file rfbproto.h.

◆ sz_rfbFramebufferUpdateRectHeader

#define sz_rfbFramebufferUpdateRectHeader   (sz_rfbRectangle + 4)

Definition at line 579 of file rfbproto.h.

◆ sz_rfbFramebufferUpdateRequestMsg

#define sz_rfbFramebufferUpdateRequestMsg   10

Definition at line 1363 of file rfbproto.h.

◆ sz_rfbKeyEventMsg

#define sz_rfbKeyEventMsg   8

Definition at line 1404 of file rfbproto.h.

◆ sz_rfbPalmVNCReSizeFrameBufferMsg

#define sz_rfbPalmVNCReSizeFrameBufferMsg   (12)

Definition at line 1249 of file rfbproto.h.

◆ sz_rfbPalmVNCSetScaleFactorMsg

#define sz_rfbPalmVNCSetScaleFactorMsg   (4)

Definition at line 1495 of file rfbproto.h.

◆ sz_rfbPixelFormat

#define sz_rfbPixelFormat   16

Definition at line 209 of file rfbproto.h.

◆ sz_rfbPointerEventMsg

#define sz_rfbPointerEventMsg   6

Definition at line 1438 of file rfbproto.h.

◆ sz_rfbProtocolVersionMsg

#define sz_rfbProtocolVersionMsg   12

Definition at line 261 of file rfbproto.h.

◆ sz_rfbQemuExtendedKeyEventMsg

#define sz_rfbQemuExtendedKeyEventMsg   12

Definition at line 1415 of file rfbproto.h.

◆ sz_rfbRectangle

#define sz_rfbRectangle   8

Definition at line 154 of file rfbproto.h.

◆ sz_rfbResizeFrameBufferMsg

#define sz_rfbResizeFrameBufferMsg   6

Definition at line 1227 of file rfbproto.h.

◆ sz_rfbRREHeader

#define sz_rfbRREHeader   4

Definition at line 655 of file rfbproto.h.

◆ sz_rfbServerCutTextMsg

#define sz_rfbServerCutTextMsg   8

Definition at line 1017 of file rfbproto.h.

◆ sz_rfbServerInitMsg

#define sz_rfbServerInitMsg   (8 + sz_rfbPixelFormat)

Definition at line 378 of file rfbproto.h.

◆ sz_rfbSetColourMapEntriesMsg

#define sz_rfbSetColourMapEntriesMsg   6

Definition at line 989 of file rfbproto.h.

◆ sz_rfbSetDesktopSizeMsg

#define sz_rfbSetDesktopSizeMsg   (8)

Definition at line 1212 of file rfbproto.h.

◆ sz_rfbSetEncodingsMsg

#define sz_rfbSetEncodingsMsg   4

Definition at line 1345 of file rfbproto.h.

◆ sz_rfbSetPixelFormatMsg

#define sz_rfbSetPixelFormatMsg   (sz_rfbPixelFormat + 4)

Definition at line 1308 of file rfbproto.h.

◆ sz_rfbSetScaleMsg

#define sz_rfbSetScaleMsg   4

Definition at line 1479 of file rfbproto.h.

◆ sz_rfbSetServerInputMsg

#define sz_rfbSetServerInputMsg   4

Definition at line 1509 of file rfbproto.h.

◆ sz_rfbSetSWMsg

#define sz_rfbSetSWMsg   6

Definition at line 1523 of file rfbproto.h.

◆ sz_rfbSupportedMessages

#define sz_rfbSupportedMessages   64

Definition at line 593 of file rfbproto.h.

◆ sz_rfbTextChatMsg

#define sz_rfbTextChatMsg   8

Definition at line 1110 of file rfbproto.h.

◆ sz_rfbXCursorColors

#define sz_rfbXCursorColors   6

Definition at line 922 of file rfbproto.h.

◆ sz_rfbXvpMsg

#define sz_rfbXvpMsg   (4)

Definition at line 1146 of file rfbproto.h.

◆ sz_rfbZipDirectoryPrefix

#define sz_rfbZipDirectoryPrefix   9

Definition at line 1090 of file rfbproto.h.

◆ sz_rfbZlibHeader

#define sz_rfbZlibHeader   4

Definition at line 739 of file rfbproto.h.

◆ sz_rfbZRLEHeader

#define sz_rfbZRLEHeader   4

Definition at line 948 of file rfbproto.h.

◆ TRUE

#define TRUE   -1
Examples
SDLvncviewer.c, example.c, pnmshow.c, pnmshow24.c, and vnc2mpg.c.

Definition at line 112 of file rfbproto.h.

Typedef Documentation

◆ rfbBool

typedef int8_t rfbBool

Definition at line 108 of file rfbproto.h.

◆ rfbKeySym

typedef uint32_t rfbKeySym

Definition at line 122 of file rfbproto.h.

◆ rfbPixel

typedef uint32_t rfbPixel

Definition at line 123 of file rfbproto.h.

◆ rfbProtocolVersionMsg

typedef char rfbProtocolVersionMsg[13]

Definition at line 259 of file rfbproto.h.

Function Documentation

◆ rfbDecryptPasswdFromFile()

char* rfbDecryptPasswdFromFile ( char *  fname)

◆ rfbEncryptAndStorePasswd()

int rfbEncryptAndStorePasswd ( char *  passwd,
char *  fname 
)
Examples
storepasswd.c.

◆ rfbEncryptBytes()

void rfbEncryptBytes ( unsigned char *  bytes,
char *  passwd 
)

◆ rfbRandomBytes()

void rfbRandomBytes ( unsigned char *  bytes)