LibVNCServer/LibVNCClient
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
rfbProtocolExtension Struct Reference

Protocol extension handling. More...

#include <rfb.h>

Data Fields

rfbBool(* newClient )(struct _rfbClientRec *client, void **data)
 returns FALSE if extension should be deactivated for client. More...
 
rfbBool(* init )(struct _rfbClientRec *client, void *data)
 returns FALSE if extension should be deactivated for client. More...
 
int * pseudoEncodings
 if pseudoEncodings is not NULL, it contains a 0 terminated list of the pseudo encodings handled by this extension. More...
 
rfbBool(* enablePseudoEncoding )(struct _rfbClientRec *client, void **data, int encodingNumber)
 returns TRUE if that pseudo encoding is handled by the extension. More...
 
rfbBool(* handleMessage )(struct _rfbClientRec *client, void *data, const rfbClientToServerMsg *message)
 returns TRUE if message was handled More...
 
void(* close )(struct _rfbClientRec *client, void *data)
 
void(* usage )(void)
 
int(* processArgument )(int argc, char *argv[])
 processArguments returns the number of handled arguments More...
 
struct _rfbProtocolExtension * next
 

Detailed Description

Protocol extension handling.

Definition at line 198 of file rfb.h.

Field Documentation

void(* close)(struct _rfbClientRec *client, void *data)

Definition at line 216 of file rfb.h.

rfbBool(* enablePseudoEncoding)(struct _rfbClientRec *client, void **data, int encodingNumber)

returns TRUE if that pseudo encoding is handled by the extension.

encodingNumber==0 means "reset encodings".

Definition at line 210 of file rfb.h.

rfbBool(* handleMessage)(struct _rfbClientRec *client, void *data, const rfbClientToServerMsg *message)

returns TRUE if message was handled

Definition at line 213 of file rfb.h.

rfbBool(* init)(struct _rfbClientRec *client, void *data)

returns FALSE if extension should be deactivated for client.

if init == NULL, it stays activated.

Definition at line 204 of file rfb.h.

rfbBool(* newClient)(struct _rfbClientRec *client, void **data)

returns FALSE if extension should be deactivated for client.

if newClient == NULL, it is always deactivated.

Definition at line 201 of file rfb.h.

struct _rfbProtocolExtension* next

Definition at line 220 of file rfb.h.

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

processArguments returns the number of handled arguments

Definition at line 219 of file rfb.h.

int* pseudoEncodings

if pseudoEncodings is not NULL, it contains a 0 terminated list of the pseudo encodings handled by this extension.

Definition at line 207 of file rfb.h.

void(* usage)(void)

Definition at line 217 of file rfb.h.


The documentation for this struct was generated from the following file: