summaryrefslogtreecommitdiffstats
path: root/rfb/rfb.h
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2010-11-02 22:23:12 +0100
committerChristian Beier <dontmind@freeshell.org>2010-11-02 22:23:12 +0100
commite5523350a8fb5d6ccae4b4d9bc92897f3e5db18c (patch)
treea784f30fb06c79ec942613f7a3833a23f97e808c /rfb/rfb.h
parent5da7c7a71ac1db69902c3a2a80f8771713dde70f (diff)
downloadlibvncserver-e5523350a8fb5d6ccae4b4d9bc92897f3e5db18c.zip
libvncserver-e5523350a8fb5d6ccae4b4d9bc92897f3e5db18c.tar.gz
libvnc[server|client]: implement xvp VNC extension.
This implements the xvp VNC extension, which is described in the community version of the RFB protocol: http://tigervnc.sourceforge.net/cgi-bin/rfbproto It is also mentioned in the official RFB protocol.
Diffstat (limited to 'rfb/rfb.h')
-rw-r--r--rfb/rfb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/rfb/rfb.h b/rfb/rfb.h
index e58e59e..1ea9571 100644
--- a/rfb/rfb.h
+++ b/rfb/rfb.h
@@ -139,6 +139,7 @@ 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);
+typedef rfbBool (*rfbXvpHookPtr)(struct _rfbClientRec* cl, uint8_t, uint8_t);
/* If x==1 and y==1 then set the whole display
* else find the window underneath x and y and set the framebuffer to the dimensions
* of that window
@@ -356,6 +357,8 @@ typedef struct _rfbScreenInfo
/* displayFinishedHook is called just after a frame buffer update */
rfbDisplayFinishedHookPtr displayFinishedHook;
+ /* xvpHook is called to handle an xvp client message */
+ rfbXvpHookPtr xvpHook;
} rfbScreenInfo, *rfbScreenInfoPtr;
OpenPOWER on IntegriCloud