LibVNCServer/LibVNCClient
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
rfbtightserver.c File Reference
#include <rfb/rfb.h>
#include "rfbtightproto.h"
#include "handlefiletransferrequest.h"
+ Include dependency graph for rfbtightserver.c:

Go to the source code of this file.

Macros

#define SECTYPE_TIGHT_FOR_RFB_3_8
 
#define USE_SECTYPE_TIGHT_FOR_RFB_3_8
 
#define N_SMSG_CAPS   4
 
#define N_CMSG_CAPS   6
 
#define N_ENC_CAPS   12
 

Functions

rfbTightClientPtr rfbGetTightClientData (rfbClientPtr cl)
 
void rfbProcessClientAuthType (rfbClientPtr cl)
 
void rfbProcessClientTunnelingType (rfbClientPtr cl)
 
void rfbSendInteractionCaps (rfbClientPtr cl)
 
rfbBool rfbTightExtensionInit (rfbClientPtr cl, void *data)
 
rfbBool rfbTightExtensionMsgHandler (struct _rfbClientRec *cl, void *data, const rfbClientToServerMsg *msg)
 
void rfbTightExtensionClientClose (rfbClientPtr cl, void *data)
 
void rfbTightUsage (void)
 
int rfbTightProcessArg (int argc, char *argv[])
 
void rfbHandleSecTypeTight (rfbClientPtr cl)
 
void rfbRegisterTightVNCFileTransferExtension ()
 
void rfbUnregisterTightVNCFileTransferExtension ()
 

Variables

rfbProtocolExtension tightVncFileTransferExtension
 

Macro Definition Documentation

#define N_CMSG_CAPS   6

Definition at line 267 of file rfbtightserver.c.

#define N_ENC_CAPS   12

Definition at line 268 of file rfbtightserver.c.

#define N_SMSG_CAPS   4

Definition at line 266 of file rfbtightserver.c.

#define SECTYPE_TIGHT_FOR_RFB_3_8
Value:
if (cl->protocolMajorVersion==3 && cl->protocolMinorVersion > 7) { \
uint32_t authResult; \
rfbLog("rfbProcessClientSecurityType: returning securityResult for client rfb version >= 3.8\n"); \
authResult = Swap32IfLE(rfbVncAuthOK); \
if (rfbWriteExact(cl, (char *)&authResult, 4) < 0) { \
rfbLogPerror("rfbAuthProcessClientMessage: write"); \
rfbCloseClient(cl); \
return; \
} \
}

Definition at line 84 of file rfbtightserver.c.

#define USE_SECTYPE_TIGHT_FOR_RFB_3_8

Definition at line 99 of file rfbtightserver.c.

Function Documentation

rfbTightClientPtr rfbGetTightClientData ( rfbClientPtr  cl)

Definition at line 41 of file rfbtightserver.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void rfbHandleSecTypeTight ( rfbClientPtr  cl)

Definition at line 495 of file rfbtightserver.c.

+ Here is the call graph for this function:

void rfbProcessClientAuthType ( rfbClientPtr  cl)

Definition at line 106 of file rfbtightserver.c.

+ Here is the call graph for this function:

void rfbProcessClientTunnelingType ( rfbClientPtr  cl)

Definition at line 166 of file rfbtightserver.c.

+ Here is the call graph for this function:

void rfbSendInteractionCaps ( rfbClientPtr  cl)

Definition at line 271 of file rfbtightserver.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void rfbTightExtensionClientClose ( rfbClientPtr  cl,
void *  data 
)

Definition at line 449 of file rfbtightserver.c.

rfbBool rfbTightExtensionInit ( rfbClientPtr  cl,
void *  data 
)

Definition at line 364 of file rfbtightserver.c.

+ Here is the call graph for this function:

rfbBool rfbTightExtensionMsgHandler ( struct _rfbClientRec *  cl,
void *  data,
const rfbClientToServerMsg msg 
)

Definition at line 395 of file rfbtightserver.c.

+ Here is the call graph for this function:

int rfbTightProcessArg ( int  argc,
char *  argv[] 
)

Definition at line 465 of file rfbtightserver.c.

+ Here is the call graph for this function:

void rfbTightUsage ( void  )

Definition at line 457 of file rfbtightserver.c.

Variable Documentation

rfbProtocolExtension tightVncFileTransferExtension
Initial value:

Definition at line 518 of file rfbtightserver.c.