summaryrefslogtreecommitdiffstats
path: root/rfb/rfb.h
diff options
context:
space:
mode:
Diffstat (limited to 'rfb/rfb.h')
-rw-r--r--rfb/rfb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/rfb/rfb.h b/rfb/rfb.h
index a03ab21..006cc2e 100644
--- a/rfb/rfb.h
+++ b/rfb/rfb.h
@@ -136,6 +136,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 void (*rfbDisplayFinishedHookPtr)(struct _rfbClientRec* cl, int result);
/* support the capability to view the caps/num/scroll states of the X server */
typedef int (*rfbGetKeyboardLedStateHookPtr)(struct _rfbScreenInfo* screen);
/* If x==1 and y==1 then set the whole display
@@ -352,6 +353,9 @@ typedef struct _rfbScreenInfo
/* command line authorization of file transfers */
rfbBool permitFileTransfer;
+
+ /* displayFinishedHook is called just after a frame buffer update */
+ rfbDisplayFinishedHookPtr displayFinishedHook;
} rfbScreenInfo, *rfbScreenInfoPtr;