LibVNCServer/LibVNCClient
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 164 of file rfb.h.

Field Documentation

◆ close

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

Definition at line 182 of file rfb.h.

◆ enablePseudoEncoding

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 176 of file rfb.h.

◆ handleMessage

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

returns TRUE if message was handled

Definition at line 179 of file rfb.h.

◆ init

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 170 of file rfb.h.

◆ newClient

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 167 of file rfb.h.

◆ next

struct _rfbProtocolExtension* next

Definition at line 186 of file rfb.h.

◆ processArgument

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

processArguments returns the number of handled arguments

Definition at line 185 of file rfb.h.

◆ pseudoEncodings

int* pseudoEncodings

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

Definition at line 173 of file rfb.h.

◆ usage

void(* usage) (void)

Definition at line 183 of file rfb.h.


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