diff options
Diffstat (limited to 'rfb/rfb.h')
-rw-r--r-- | rfb/rfb.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -125,6 +125,7 @@ typedef rfbBool (*rfbSetTranslateFunctionProcPtr)(struct _rfbClientRec* cl); typedef rfbBool (*rfbPasswordCheckProcPtr)(struct _rfbClientRec* cl,const char* encryptedPassWord,int len); typedef enum rfbNewClientAction (*rfbNewClientHookPtr)(struct _rfbClientRec* cl); typedef void (*rfbDisplayHookPtr)(struct _rfbClientRec* cl); +typedef rfbBool (*rfbProcessCustomClientMessageProcPtr)(struct _rfbClientRec* cl,uint8_t type); typedef struct { uint32_t count; @@ -291,6 +292,10 @@ typedef struct _rfbScreenInfo * an update should be sent. This should make working on a slow * link more interactive. */ int progressiveSliceHeight; + + /* if LibVNCServer doesn't know the normal message, it calls this + * hook. If the hook handles the message, it returns TRUE. */ + rfbProcessCustomClientMessageProcPtr processCustomClientMessage; } rfbScreenInfo, *rfbScreenInfoPtr; |