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  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 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 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 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 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 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 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

◆ CHALLENGESIZE

#define CHALLENGESIZE   16

Definition at line 1522 of file rfbproto.h.

◆ FALSE

#define FALSE   0
Examples:
example.c, filetransfer.c, pnmshow.c, pnmshow24.c, SDLvncviewer.c, vnc2mpg.c, and vncev.c.

Definition at line 110 of file rfbproto.h.

◆ INADDR_NONE

#define INADDR_NONE   ((in_addr_t) 0xffffffff)

Definition at line 123 of file rfbproto.h.

◆ MAX_ENCODINGS

#define MAX_ENCODINGS   64

Definition at line 126 of file rfbproto.h.

◆ MAXPWLEN

#define MAXPWLEN   8

Definition at line 1521 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 1037 of file rfbproto.h.

◆ rfbADirCreate

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

Definition at line 1055 of file rfbproto.h.

◆ rfbADirDelete

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

Definition at line 1056 of file rfbproto.h.

◆ rfbADirectory

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

Definition at line 1052 of file rfbproto.h.

◆ rfbADirRecursiveListItem

#define rfbADirRecursiveListItem   10

Definition at line 1061 of file rfbproto.h.

◆ rfbADirRecursiveSize

#define rfbADirRecursiveSize   11

Definition at line 1062 of file rfbproto.h.

◆ rfbADirRename

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

Definition at line 1060 of file rfbproto.h.

◆ rfbADrivesList

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

Definition at line 1054 of file rfbproto.h.

◆ rfbAFile

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

Definition at line 1053 of file rfbproto.h.

◆ rfbAFileCreate

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

Definition at line 1057 of file rfbproto.h.

◆ rfbAFileDelete

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

Definition at line 1058 of file rfbproto.h.

◆ rfbAFileRename

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

Definition at line 1059 of file rfbproto.h.

◆ rfbARD

#define rfbARD   30

Definition at line 296 of file rfbproto.h.

◆ rfbBell

#define rfbBell   2

Definition at line 397 of file rfbproto.h.

◆ rfbButton1Mask

#define rfbButton1Mask   1
Examples:
SDLvncviewer.c.

Definition at line 1406 of file rfbproto.h.

◆ rfbButton2Mask

#define rfbButton2Mask   2
Examples:
SDLvncviewer.c.

Definition at line 1407 of file rfbproto.h.

◆ rfbButton3Mask

#define rfbButton3Mask   4
Examples:
SDLvncviewer.c.

Definition at line 1408 of file rfbproto.h.

◆ rfbButton4Mask

#define rfbButton4Mask   8
Examples:
SDLvncviewer.c.

Definition at line 1409 of file rfbproto.h.

◆ rfbButton5Mask

#define rfbButton5Mask   16
Examples:
SDLvncviewer.c.

Definition at line 1410 of file rfbproto.h.

◆ rfbCDirCreate

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

Definition at line 1065 of file rfbproto.h.

◆ rfbCDirDelete

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

Definition at line 1066 of file rfbproto.h.

◆ rfbCDirRename

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

Definition at line 1070 of file rfbproto.h.

◆ rfbCFileCreate

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

Definition at line 1067 of file rfbproto.h.

◆ rfbCFileDelete

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

Definition at line 1068 of file rfbproto.h.

◆ rfbCFileRename

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

Definition at line 1069 of file rfbproto.h.

◆ rfbClientCutText

#define rfbClientCutText   6

Definition at line 411 of file rfbproto.h.

◆ rfbCloseSocket

#define rfbCloseSocket   close

Definition at line 107 of file rfbproto.h.

◆ rfbCommand

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

Definition at line 1040 of file rfbproto.h.

◆ rfbCommandReturn

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

Definition at line 1041 of file rfbproto.h.

◆ rfbConnFailed

#define rfbConnFailed   0

Definition at line 283 of file rfbproto.h.

◆ rfbDirContentRequest

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

Definition at line 1030 of file rfbproto.h.

◆ rfbDirPacket

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

Definition at line 1031 of file rfbproto.h.

◆ rfbDirPrefix

#define rfbDirPrefix   "[ "

Definition at line 1079 of file rfbproto.h.

◆ rfbDirSuffix

#define rfbDirSuffix   " ]"

Definition at line 1080 of file rfbproto.h.

◆ rfbEncodingCache

#define rfbEncodingCache   0xFFFF0000

Definition at line 456 of file rfbproto.h.

◆ rfbEncodingCacheEnable

#define rfbEncodingCacheEnable   0xFFFF0001

Definition at line 457 of file rfbproto.h.

◆ rfbEncodingCacheZip

#define rfbEncodingCacheZip   0xFFFF0007

Definition at line 463 of file rfbproto.h.

◆ rfbEncodingCompressLevel0

#define rfbEncodingCompressLevel0   0xFFFFFF00

Definition at line 491 of file rfbproto.h.

◆ rfbEncodingCompressLevel1

#define rfbEncodingCompressLevel1   0xFFFFFF01

Definition at line 492 of file rfbproto.h.

◆ rfbEncodingCompressLevel2

#define rfbEncodingCompressLevel2   0xFFFFFF02

Definition at line 493 of file rfbproto.h.

◆ rfbEncodingCompressLevel3

#define rfbEncodingCompressLevel3   0xFFFFFF03

Definition at line 494 of file rfbproto.h.

◆ rfbEncodingCompressLevel4

#define rfbEncodingCompressLevel4   0xFFFFFF04

Definition at line 495 of file rfbproto.h.

◆ rfbEncodingCompressLevel5

#define rfbEncodingCompressLevel5   0xFFFFFF05

Definition at line 496 of file rfbproto.h.

◆ rfbEncodingCompressLevel6

#define rfbEncodingCompressLevel6   0xFFFFFF06

Definition at line 497 of file rfbproto.h.

◆ rfbEncodingCompressLevel7

#define rfbEncodingCompressLevel7   0xFFFFFF07

Definition at line 498 of file rfbproto.h.

◆ rfbEncodingCompressLevel8

#define rfbEncodingCompressLevel8   0xFFFFFF08

Definition at line 499 of file rfbproto.h.

◆ rfbEncodingCompressLevel9

#define rfbEncodingCompressLevel9   0xFFFFFF09

Definition at line 500 of file rfbproto.h.

◆ rfbEncodingCopyRect

#define rfbEncodingCopyRect   1

Definition at line 440 of file rfbproto.h.

◆ rfbEncodingCoRRE

#define rfbEncodingCoRRE   4

Definition at line 442 of file rfbproto.h.

◆ rfbEncodingExtDesktopSize

#define rfbEncodingExtDesktopSize   0xFFFFFECC

Definition at line 508 of file rfbproto.h.

◆ rfbEncodingFineQualityLevel0

#define rfbEncodingFineQualityLevel0   0xFFFFFE00

Definition at line 482 of file rfbproto.h.

◆ rfbEncodingFineQualityLevel100

#define rfbEncodingFineQualityLevel100   0xFFFFFE64

Definition at line 483 of file rfbproto.h.

◆ rfbEncodingH264

#define rfbEncodingH264   0x48323634

Definition at line 453 of file rfbproto.h.

◆ rfbEncodingHextile

#define rfbEncodingHextile   5

Definition at line 443 of file rfbproto.h.

◆ rfbEncodingKeyboardLedState

#define rfbEncodingKeyboardLedState   0xFFFE0000

Definition at line 523 of file rfbproto.h.

◆ rfbEncodingLastRect

#define rfbEncodingLastRect   0xFFFFFF20

Definition at line 506 of file rfbproto.h.

◆ rfbEncodingNewFBSize

#define rfbEncodingNewFBSize   0xFFFFFF21

Definition at line 507 of file rfbproto.h.

◆ rfbEncodingPointerPos

#define rfbEncodingPointerPos   0xFFFFFF18

Definition at line 504 of file rfbproto.h.

◆ rfbEncodingQualityLevel0

#define rfbEncodingQualityLevel0   0xFFFFFFE0

Definition at line 510 of file rfbproto.h.

◆ rfbEncodingQualityLevel1

#define rfbEncodingQualityLevel1   0xFFFFFFE1

Definition at line 511 of file rfbproto.h.

◆ rfbEncodingQualityLevel2

#define rfbEncodingQualityLevel2   0xFFFFFFE2

Definition at line 512 of file rfbproto.h.

◆ rfbEncodingQualityLevel3

#define rfbEncodingQualityLevel3   0xFFFFFFE3

Definition at line 513 of file rfbproto.h.

◆ rfbEncodingQualityLevel4

#define rfbEncodingQualityLevel4   0xFFFFFFE4

Definition at line 514 of file rfbproto.h.

◆ rfbEncodingQualityLevel5

#define rfbEncodingQualityLevel5   0xFFFFFFE5

Definition at line 515 of file rfbproto.h.

◆ rfbEncodingQualityLevel6

#define rfbEncodingQualityLevel6   0xFFFFFFE6

Definition at line 516 of file rfbproto.h.

◆ rfbEncodingQualityLevel7

#define rfbEncodingQualityLevel7   0xFFFFFFE7

Definition at line 517 of file rfbproto.h.

◆ rfbEncodingQualityLevel8

#define rfbEncodingQualityLevel8   0xFFFFFFE8

Definition at line 518 of file rfbproto.h.

◆ rfbEncodingQualityLevel9

#define rfbEncodingQualityLevel9   0xFFFFFFE9

Definition at line 519 of file rfbproto.h.

◆ rfbEncodingRaw

#define rfbEncodingRaw   0

Definition at line 439 of file rfbproto.h.

◆ rfbEncodingRichCursor

#define rfbEncodingRichCursor   0xFFFFFF11

Definition at line 503 of file rfbproto.h.

◆ rfbEncodingRRE

#define rfbEncodingRRE   2

Definition at line 441 of file rfbproto.h.

◆ rfbEncodingServerIdentity

#define rfbEncodingServerIdentity   0xFFFE0003

Definition at line 526 of file rfbproto.h.

◆ rfbEncodingSolidColor

#define rfbEncodingSolidColor   0xFFFF0005

Definition at line 461 of file rfbproto.h.

◆ rfbEncodingSolMonoZip

#define rfbEncodingSolMonoZip   0xFFFF0008

Definition at line 464 of file rfbproto.h.

◆ rfbEncodingSubsamp16X

#define rfbEncodingSubsamp16X   0xFFFFFD05

Definition at line 489 of file rfbproto.h.

◆ rfbEncodingSubsamp1X

#define rfbEncodingSubsamp1X   0xFFFFFD00

Definition at line 484 of file rfbproto.h.

◆ rfbEncodingSubsamp2X

#define rfbEncodingSubsamp2X   0xFFFFFD02

Definition at line 486 of file rfbproto.h.

◆ rfbEncodingSubsamp4X

#define rfbEncodingSubsamp4X   0xFFFFFD01

Definition at line 485 of file rfbproto.h.

◆ rfbEncodingSubsamp8X

#define rfbEncodingSubsamp8X   0xFFFFFD04

Definition at line 488 of file rfbproto.h.

◆ rfbEncodingSubsampGray

#define rfbEncodingSubsampGray   0xFFFFFD03

Definition at line 487 of file rfbproto.h.

◆ rfbEncodingSupportedEncodings

#define rfbEncodingSupportedEncodings   0xFFFE0002

Definition at line 525 of file rfbproto.h.

◆ rfbEncodingSupportedMessages

#define rfbEncodingSupportedMessages   0xFFFE0001

Definition at line 524 of file rfbproto.h.

◆ rfbEncodingTight

#define rfbEncodingTight   7

Definition at line 445 of file rfbproto.h.

◆ rfbEncodingTightPng

#define rfbEncodingTightPng   0xFFFFFEFC /* -260 */

Definition at line 446 of file rfbproto.h.

◆ rfbEncodingTRLE

#define rfbEncodingTRLE   15

Definition at line 449 of file rfbproto.h.

◆ rfbEncodingUltra

#define rfbEncodingUltra   9

Definition at line 448 of file rfbproto.h.

◆ rfbEncodingUltraZip

#define rfbEncodingUltraZip   0xFFFF0009

Definition at line 465 of file rfbproto.h.

◆ rfbEncodingXCursor

#define rfbEncodingXCursor   0xFFFFFF10

Definition at line 502 of file rfbproto.h.

◆ rfbEncodingXOR_Zlib

#define rfbEncodingXOR_Zlib   0xFFFF0002

Definition at line 458 of file rfbproto.h.

◆ rfbEncodingXOREnable

#define rfbEncodingXOREnable   0xFFFF0006

Definition at line 462 of file rfbproto.h.

◆ rfbEncodingXORMonoColor_Zlib

#define rfbEncodingXORMonoColor_Zlib   0xFFFF0003

Definition at line 459 of file rfbproto.h.

◆ rfbEncodingXORMultiColor_Zlib

#define rfbEncodingXORMultiColor_Zlib   0xFFFF0004

Definition at line 460 of file rfbproto.h.

◆ rfbEncodingXvp

#define rfbEncodingXvp   0xFFFFFECB

Definition at line 468 of file rfbproto.h.

◆ rfbEncodingZlib

#define rfbEncodingZlib   6

Definition at line 444 of file rfbproto.h.

◆ rfbEncodingZlibHex

#define rfbEncodingZlibHex   8

Definition at line 447 of file rfbproto.h.

◆ rfbEncodingZRLE

#define rfbEncodingZRLE   16

Definition at line 450 of file rfbproto.h.

◆ rfbEncodingZYWRLE

#define rfbEncodingZYWRLE   17

Definition at line 451 of file rfbproto.h.

◆ rfbEndOfFile

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

Definition at line 1036 of file rfbproto.h.

◆ rfbExtDesktopSize_ClientRequestedChange

#define rfbExtDesktopSize_ClientRequestedChange   1

Definition at line 1173 of file rfbproto.h.

◆ rfbExtDesktopSize_GenericChange

#define rfbExtDesktopSize_GenericChange   0

Definition at line 1172 of file rfbproto.h.

◆ rfbExtDesktopSize_InvalidScreenLayout

#define rfbExtDesktopSize_InvalidScreenLayout   3

Definition at line 1180 of file rfbproto.h.

◆ rfbExtDesktopSize_OtherClientRequestedChange

#define rfbExtDesktopSize_OtherClientRequestedChange   2

Definition at line 1174 of file rfbproto.h.

◆ rfbExtDesktopSize_OutOfResources

#define rfbExtDesktopSize_OutOfResources   2

Definition at line 1179 of file rfbproto.h.

◆ rfbExtDesktopSize_ResizeProhibited

#define rfbExtDesktopSize_ResizeProhibited   1

Definition at line 1178 of file rfbproto.h.

◆ rfbExtDesktopSize_Success

#define rfbExtDesktopSize_Success   0

Definition at line 1177 of file rfbproto.h.

◆ rfbFileAcceptHeader

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

Definition at line 1039 of file rfbproto.h.

◆ rfbFileChecksums

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

Definition at line 1042 of file rfbproto.h.

◆ rfbFileHeader

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

Definition at line 1034 of file rfbproto.h.

◆ rfbFilePacket

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

Definition at line 1035 of file rfbproto.h.

◆ rfbFileTransfer

#define rfbFileTransfer   7

Definition at line 413 of file rfbproto.h.

◆ rfbFileTransferAccess

#define rfbFileTransferAccess   14 /* Request FileTransfer authorization */

Definition at line 1043 of file rfbproto.h.

◆ rfbFileTransferOffer

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

Definition at line 1038 of file rfbproto.h.

◆ rfbFileTransferRequest

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

Definition at line 1033 of file rfbproto.h.

◆ rfbFileTransferVersion

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

Definition at line 1027 of file rfbproto.h.

◆ rfbFixColourMapEntries

#define rfbFixColourMapEntries   1 /* not currently supported */

Definition at line 406 of file rfbproto.h.

◆ rfbFramebufferUpdate

#define rfbFramebufferUpdate   0

Definition at line 395 of file rfbproto.h.

◆ rfbFramebufferUpdateRequest

#define rfbFramebufferUpdateRequest   3

Definition at line 408 of file rfbproto.h.

◆ rfbHextileAnySubrects

#define rfbHextileAnySubrects   (1 << 3)

Definition at line 706 of file rfbproto.h.

◆ rfbHextileBackgroundSpecified

#define rfbHextileBackgroundSpecified   (1 << 1)

Definition at line 704 of file rfbproto.h.

◆ rfbHextileExtractH

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

Definition at line 714 of file rfbproto.h.

◆ rfbHextileExtractW

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

Definition at line 713 of file rfbproto.h.

◆ rfbHextileExtractX

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

Definition at line 711 of file rfbproto.h.

◆ rfbHextileExtractY

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

Definition at line 712 of file rfbproto.h.

◆ rfbHextileForegroundSpecified

#define rfbHextileForegroundSpecified   (1 << 2)

Definition at line 705 of file rfbproto.h.

◆ rfbHextilePackWH

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

Definition at line 710 of file rfbproto.h.

◆ rfbHextilePackXY

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

Definition at line 709 of file rfbproto.h.

◆ rfbHextileRaw

#define rfbHextileRaw   (1 << 0)

Definition at line 703 of file rfbproto.h.

◆ rfbHextileSubrectsColoured

#define rfbHextileSubrectsColoured   (1 << 4)

Definition at line 707 of file rfbproto.h.

◆ rfbHextileZlibHex

#define rfbHextileZlibHex   (1 << 6)

Definition at line 953 of file rfbproto.h.

◆ rfbHextileZlibMono

#define rfbHextileZlibMono   (1 << 7)

Definition at line 954 of file rfbproto.h.

◆ rfbHextileZlibRaw

#define rfbHextileZlibRaw   (1 << 5)

Definition at line 952 of file rfbproto.h.

◆ rfbKeyboardMaskAlt

#define rfbKeyboardMaskAlt   8

Definition at line 611 of file rfbproto.h.

◆ rfbKeyboardMaskAltGraph

#define rfbKeyboardMaskAltGraph   512

Definition at line 617 of file rfbproto.h.

◆ rfbKeyboardMaskCapsLock

#define rfbKeyboardMaskCapsLock   2

Definition at line 609 of file rfbproto.h.

◆ rfbKeyboardMaskControl

#define rfbKeyboardMaskControl   4

Definition at line 610 of file rfbproto.h.

◆ rfbKeyboardMaskHyper

#define rfbKeyboardMaskHyper   64

Definition at line 614 of file rfbproto.h.

◆ rfbKeyboardMaskMeta

#define rfbKeyboardMaskMeta   16

Definition at line 612 of file rfbproto.h.

◆ rfbKeyboardMaskNumLock

#define rfbKeyboardMaskNumLock   128

Definition at line 615 of file rfbproto.h.

◆ rfbKeyboardMaskScrollLock

#define rfbKeyboardMaskScrollLock   256

Definition at line 616 of file rfbproto.h.

◆ rfbKeyboardMaskShift

#define rfbKeyboardMaskShift   1

Definition at line 608 of file rfbproto.h.

◆ rfbKeyboardMaskSuper

#define rfbKeyboardMaskSuper   32

Definition at line 613 of file rfbproto.h.

◆ rfbKeyEvent

#define rfbKeyEvent   4

Definition at line 409 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 297 of file rfbproto.h.

◆ rfbNoAuth

#define rfbNoAuth   1

Definition at line 284 of file rfbproto.h.

◆ rfbPalmVNCReSizeFrameBuffer

#define rfbPalmVNCReSizeFrameBuffer   0xF

Definition at line 401 of file rfbproto.h.

◆ rfbPalmVNCSetScaleFactor

#define rfbPalmVNCSetScaleFactor   0xF

Definition at line 424 of file rfbproto.h.

◆ rfbPF256Colors

#define rfbPF256Colors   1

Definition at line 206 of file rfbproto.h.

◆ rfbPF2GreyColors

#define rfbPF2GreyColors   6

Definition at line 211 of file rfbproto.h.

◆ rfbPF4GreyColors

#define rfbPF4GreyColors   5

Definition at line 210 of file rfbproto.h.

◆ rfbPF64Colors

#define rfbPF64Colors   2

Definition at line 207 of file rfbproto.h.

◆ rfbPF8Colors

#define rfbPF8Colors   3

Definition at line 208 of file rfbproto.h.

◆ rfbPF8GreyColors

#define rfbPF8GreyColors   4

Definition at line 209 of file rfbproto.h.

◆ rfbPFFullColors

#define rfbPFFullColors   0

Definition at line 205 of file rfbproto.h.

◆ rfbPointerEvent

#define rfbPointerEvent   5

Definition at line 410 of file rfbproto.h.

◆ rfbProtocolMajorVersion

#define rfbProtocolMajorVersion   3

Definition at line 246 of file rfbproto.h.

◆ rfbProtocolMinorVersion

#define rfbProtocolMinorVersion   8

Definition at line 247 of file rfbproto.h.

◆ rfbProtocolVersionFormat

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

Definition at line 245 of file rfbproto.h.

◆ rfbRA2

#define rfbRA2   5

Definition at line 287 of file rfbproto.h.

◆ rfbRA2ne

#define rfbRA2ne   6

Definition at line 288 of file rfbproto.h.

◆ rfbRDirContent

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

Definition at line 1046 of file rfbproto.h.

◆ rfbRDirRecursiveList

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

Definition at line 1048 of file rfbproto.h.

◆ rfbRDirRecursiveSize

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

Definition at line 1049 of file rfbproto.h.

◆ rfbRDrivesList

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

Definition at line 1047 of file rfbproto.h.

◆ rfbRErrorCmd

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

Definition at line 1074 of file rfbproto.h.

◆ rfbRErrorUnknownCmd

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

Definition at line 1073 of file rfbproto.h.

◆ rfbResizeFrameBuffer

#define rfbResizeFrameBuffer   4

Definition at line 400 of file rfbproto.h.

◆ rfbSASL

#define rfbSASL   20

Definition at line 295 of file rfbproto.h.

◆ rfbSecTypeInvalid

#define rfbSecTypeInvalid   0

Definition at line 269 of file rfbproto.h.

◆ rfbSecTypeNone

#define rfbSecTypeNone   1

Definition at line 270 of file rfbproto.h.

◆ rfbSecTypeVncAuth

#define rfbSecTypeVncAuth   2

Definition at line 271 of file rfbproto.h.

◆ rfbServerCutText

#define rfbServerCutText   3

Definition at line 398 of file rfbproto.h.

◆ rfbSetColourMapEntries

#define rfbSetColourMapEntries   1

Definition at line 396 of file rfbproto.h.

◆ rfbSetDesktopSize

#define rfbSetDesktopSize   251

Definition at line 428 of file rfbproto.h.

◆ rfbSetEncodings

#define rfbSetEncodings   2

Definition at line 407 of file rfbproto.h.

◆ rfbSetPixelFormat

#define rfbSetPixelFormat   0

Definition at line 405 of file rfbproto.h.

◆ rfbSetScale

#define rfbSetScale   8

Definition at line 415 of file rfbproto.h.

◆ rfbSetServerInput

#define rfbSetServerInput   9

Definition at line 417 of file rfbproto.h.

◆ rfbSetSW

#define rfbSetSW   10

Definition at line 419 of file rfbproto.h.

◆ rfbSocket

#define rfbSocket   int

Definition at line 104 of file rfbproto.h.

◆ rfbSSPI

#define rfbSSPI   7

Definition at line 289 of file rfbproto.h.

◆ rfbSSPIne

#define rfbSSPIne   8

Definition at line 290 of file rfbproto.h.

◆ rfbTextChat

#define rfbTextChat   11

Definition at line 421 of file rfbproto.h.

◆ rfbTextChatClose

#define rfbTextChatClose   0xFFFFFFFE
Examples:
SDLvncviewer.c.

Definition at line 1102 of file rfbproto.h.

◆ rfbTextChatFinished

#define rfbTextChatFinished   0xFFFFFFFD
Examples:
SDLvncviewer.c.

Definition at line 1103 of file rfbproto.h.

◆ rfbTextChatOpen

#define rfbTextChatOpen   0xFFFFFFFF
Examples:
SDLvncviewer.c.

Definition at line 1101 of file rfbproto.h.

◆ rfbTextMaxSize

#define rfbTextMaxSize   4096

Definition at line 1100 of file rfbproto.h.

◆ rfbTight

#define rfbTight   16

Definition at line 291 of file rfbproto.h.

◆ rfbTLS

#define rfbTLS   18

Definition at line 293 of file rfbproto.h.

◆ rfbUltra

#define rfbUltra   17

Definition at line 292 of file rfbproto.h.

◆ rfbVeNCrypt

#define rfbVeNCrypt   19

Definition at line 294 of file rfbproto.h.

◆ rfbVeNCryptPlain

#define rfbVeNCryptPlain   256

Definition at line 299 of file rfbproto.h.

◆ rfbVeNCryptTLSNone

#define rfbVeNCryptTLSNone   257

Definition at line 300 of file rfbproto.h.

◆ rfbVeNCryptTLSPlain

#define rfbVeNCryptTLSPlain   259

Definition at line 302 of file rfbproto.h.

◆ rfbVeNCryptTLSSASL

#define rfbVeNCryptTLSSASL   264

Definition at line 307 of file rfbproto.h.

◆ rfbVeNCryptTLSVNC

#define rfbVeNCryptTLSVNC   258

Definition at line 301 of file rfbproto.h.

◆ rfbVeNCryptX509None

#define rfbVeNCryptX509None   260

Definition at line 303 of file rfbproto.h.

◆ rfbVeNCryptX509Plain

#define rfbVeNCryptX509Plain   262

Definition at line 305 of file rfbproto.h.

◆ rfbVeNCryptX509SASL

#define rfbVeNCryptX509SASL   263

Definition at line 306 of file rfbproto.h.

◆ rfbVeNCryptX509VNC

#define rfbVeNCryptX509VNC   261

Definition at line 304 of file rfbproto.h.

◆ rfbVncAuth

#define rfbVncAuth   2

Definition at line 285 of file rfbproto.h.

◆ rfbVncAuthFailed

#define rfbVncAuthFailed   1

Definition at line 332 of file rfbproto.h.

◆ rfbVncAuthOK

#define rfbVncAuthOK   0

Definition at line 331 of file rfbproto.h.

◆ rfbVncAuthTooMany

#define rfbVncAuthTooMany   2

Definition at line 333 of file rfbproto.h.

◆ rfbWheelDownMask

#define rfbWheelDownMask   rfbButton5Mask

Definition at line 1413 of file rfbproto.h.

◆ rfbWheelUpMask

#define rfbWheelUpMask   rfbButton4Mask

Definition at line 1412 of file rfbproto.h.

◆ rfbXvp

#define rfbXvp   250

Definition at line 426 of file rfbproto.h.

◆ rfbXvp_Fail

#define rfbXvp_Fail   0

Definition at line 1137 of file rfbproto.h.

◆ rfbXvp_Init

#define rfbXvp_Init   1

Definition at line 1138 of file rfbproto.h.

◆ rfbXvp_Reboot

#define rfbXvp_Reboot   3

Definition at line 1141 of file rfbproto.h.

◆ rfbXvp_Reset

#define rfbXvp_Reset   4

Definition at line 1142 of file rfbproto.h.

◆ rfbXvp_Shutdown

#define rfbXvp_Shutdown   2

Definition at line 1140 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 1077 of file rfbproto.h.

◆ rfbZRLETileHeight

#define rfbZRLETileHeight   64

Definition at line 939 of file rfbproto.h.

◆ rfbZRLETileWidth

#define rfbZRLETileWidth   64

Definition at line 938 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 989 of file rfbproto.h.

◆ sz_rfbBlockSize

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

Definition at line 1076 of file rfbproto.h.

◆ sz_rfbCacheRect

#define sz_rfbCacheRect   2

Definition at line 1272 of file rfbproto.h.

◆ sz_rfbClientCutTextMsg

#define sz_rfbClientCutTextMsg   8

Definition at line 1431 of file rfbproto.h.

◆ sz_rfbClientInitMsg

#define sz_rfbClientInitMsg   1

Definition at line 350 of file rfbproto.h.

◆ sz_rfbCopyRect

#define sz_rfbCopyRect   4

Definition at line 629 of file rfbproto.h.

◆ sz_rfbCoRRERectangle

#define sz_rfbCoRRERectangle   4

Definition at line 661 of file rfbproto.h.

◆ sz_rfbExtDesktopScreen

#define sz_rfbExtDesktopScreen   (16)

Definition at line 1169 of file rfbproto.h.

◆ sz_rfbExtDesktopSizeMsg

#define sz_rfbExtDesktopSizeMsg   (4)

Definition at line 1168 of file rfbproto.h.

◆ sz_rfbFileTransferMsg

#define sz_rfbFileTransferMsg   12

Definition at line 1025 of file rfbproto.h.

◆ sz_rfbFixColourMapEntriesMsg

#define sz_rfbFixColourMapEntriesMsg   6

Definition at line 1317 of file rfbproto.h.

◆ sz_rfbFramebufferUpdateMsg

#define sz_rfbFramebufferUpdateMsg   4

Definition at line 552 of file rfbproto.h.

◆ sz_rfbFramebufferUpdateRectHeader

#define sz_rfbFramebufferUpdateRectHeader   (sz_rfbRectangle + 4)

Definition at line 567 of file rfbproto.h.

◆ sz_rfbFramebufferUpdateRequestMsg

#define sz_rfbFramebufferUpdateRequestMsg   10

Definition at line 1351 of file rfbproto.h.

◆ sz_rfbKeyEventMsg

#define sz_rfbKeyEventMsg   8

Definition at line 1392 of file rfbproto.h.

◆ sz_rfbPalmVNCReSizeFrameBufferMsg

#define sz_rfbPalmVNCReSizeFrameBufferMsg   (12)

Definition at line 1237 of file rfbproto.h.

◆ sz_rfbPalmVNCSetScaleFactorMsg

#define sz_rfbPalmVNCSetScaleFactorMsg   (4)

Definition at line 1462 of file rfbproto.h.

◆ sz_rfbPixelFormat

#define sz_rfbPixelFormat   16

Definition at line 202 of file rfbproto.h.

◆ sz_rfbPointerEventMsg

#define sz_rfbPointerEventMsg   6

Definition at line 1415 of file rfbproto.h.

◆ sz_rfbProtocolVersionMsg

#define sz_rfbProtocolVersionMsg   12

Definition at line 254 of file rfbproto.h.

◆ sz_rfbRectangle

#define sz_rfbRectangle   8

Definition at line 147 of file rfbproto.h.

◆ sz_rfbResizeFrameBufferMsg

#define sz_rfbResizeFrameBufferMsg   6

Definition at line 1215 of file rfbproto.h.

◆ sz_rfbRREHeader

#define sz_rfbRREHeader   4

Definition at line 643 of file rfbproto.h.

◆ sz_rfbServerCutTextMsg

#define sz_rfbServerCutTextMsg   8

Definition at line 1005 of file rfbproto.h.

◆ sz_rfbServerInitMsg

#define sz_rfbServerInitMsg   (8 + sz_rfbPixelFormat)

Definition at line 369 of file rfbproto.h.

◆ sz_rfbSetColourMapEntriesMsg

#define sz_rfbSetColourMapEntriesMsg   6

Definition at line 977 of file rfbproto.h.

◆ sz_rfbSetDesktopSizeMsg

#define sz_rfbSetDesktopSizeMsg   (8)

Definition at line 1200 of file rfbproto.h.

◆ sz_rfbSetEncodingsMsg

#define sz_rfbSetEncodingsMsg   4

Definition at line 1333 of file rfbproto.h.

◆ sz_rfbSetPixelFormatMsg

#define sz_rfbSetPixelFormatMsg   (sz_rfbPixelFormat + 4)

Definition at line 1296 of file rfbproto.h.

◆ sz_rfbSetScaleMsg

#define sz_rfbSetScaleMsg   4

Definition at line 1446 of file rfbproto.h.

◆ sz_rfbSetServerInputMsg

#define sz_rfbSetServerInputMsg   4

Definition at line 1476 of file rfbproto.h.

◆ sz_rfbSetSWMsg

#define sz_rfbSetSWMsg   6

Definition at line 1490 of file rfbproto.h.

◆ sz_rfbSupportedMessages

#define sz_rfbSupportedMessages   64

Definition at line 581 of file rfbproto.h.

◆ sz_rfbTextChatMsg

#define sz_rfbTextChatMsg   8

Definition at line 1098 of file rfbproto.h.

◆ sz_rfbXCursorColors

#define sz_rfbXCursorColors   6

Definition at line 910 of file rfbproto.h.

◆ sz_rfbXvpMsg

#define sz_rfbXvpMsg   (4)

Definition at line 1134 of file rfbproto.h.

◆ sz_rfbZipDirectoryPrefix

#define sz_rfbZipDirectoryPrefix   9

Definition at line 1078 of file rfbproto.h.

◆ sz_rfbZlibHeader

#define sz_rfbZlibHeader   4

Definition at line 727 of file rfbproto.h.

◆ sz_rfbZRLEHeader

#define sz_rfbZRLEHeader   4

Definition at line 936 of file rfbproto.h.

◆ TRUE

#define TRUE   -1
Examples:
example.c, pnmshow.c, pnmshow24.c, SDLvncviewer.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 115 of file rfbproto.h.

◆ rfbPixel

typedef uint32_t rfbPixel

Definition at line 116 of file rfbproto.h.

◆ rfbProtocolVersionMsg

typedef char rfbProtocolVersionMsg[13]

Definition at line 252 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)