diff options
author | steven_carr <steven_carr> | 2006-05-04 19:19:13 +0000 |
---|---|---|
committer | steven_carr <steven_carr> | 2006-05-04 19:19:13 +0000 |
commit | 0d734ad8967eafab1fb058280a0db04e7470e569 (patch) | |
tree | 9e90c2eedda6bee6f5db4e177651df63730802ca /rfb/rfb.h | |
parent | 2eded94f7b46a33a290da74cff8e8c8ff4bdbe77 (diff) | |
download | libtdevnc-0d734ad8967eafab1fb058280a0db04e7470e569.tar.gz libtdevnc-0d734ad8967eafab1fb058280a0db04e7470e569.zip |
Server Capability Encodings
rfbEncodingSupportedEncodings - What encodings are supported?
rfbEncodingSupportedMessages - What message types are supported?
rfbEncodingServerIdentity - What is the servers version string?
ie: "x11vnc: 0.8.1 lastmod: 2006-04-25 (LibVNCServer 0.9pre)"
Diffstat (limited to 'rfb/rfb.h')
-rw-r--r-- | rfb/rfb.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -323,6 +323,9 @@ typedef struct _rfbScreenInfo /* handle as many input events as possible (default off) */ rfbBool handleEventsEagerly; + + /* rfbEncodingServerIdentity */ + char *versionString; } rfbScreenInfo, *rfbScreenInfoPtr; @@ -501,6 +504,9 @@ typedef struct _rfbClientRec { int lastKeyboardLedState; /* keep track of last value so we can send *change* events */ + rfbBool enableSupportedMessages; /* client supports SupportedMessages encoding */ + rfbBool enableSupportedEncodings; /* client supports SupportedEncodings encoding */ + rfbBool enableServerIdentity; /* client supports ServerIdentity encoding */ rfbBool enableKeyboardLedState; /* client supports KeyboardState encoding */ rfbBool enableLastRectEncoding; /* client supports LastRect encoding */ rfbBool enableCursorShapeUpdates; /* client supports cursor shape updates */ @@ -852,6 +858,7 @@ extern void rfbNewFramebuffer(rfbScreenInfoPtr rfbScreen,char *framebuffer, int bytesPerPixel); extern void rfbScreenCleanup(rfbScreenInfoPtr screenInfo); +extern void rfbSetServerVersionIdentity(rfbScreenInfoPtr screen, char *fmt, ...); /* functions to accept/refuse a client that has been put on hold by a NewClientHookPtr function. Must not be called in other |