summaryrefslogtreecommitdiffstats
path: root/rfb/rfb.h
diff options
context:
space:
mode:
authordscho <dscho>2005-10-03 14:40:18 +0000
committerdscho <dscho>2005-10-03 14:40:18 +0000
commit8490de3ff0e488233d7047d7e6ba3b5c278c5484 (patch)
treeec7395a2942fb1aa37a66240f86f473a68f87ef6 /rfb/rfb.h
parent1a20edd73f930424b658b7bedfbe4dd653cdf06c (diff)
downloadlibtdevnc-8490de3ff0e488233d7047d7e6ba3b5c278c5484.tar.gz
libtdevnc-8490de3ff0e488233d7047d7e6ba3b5c278c5484.zip
add enablePseudoEncoding() to rfbProtocolExtension
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 fa7d7d7..f7ba150 100644
--- a/rfb/rfb.h
+++ b/rfb/rfb.h
@@ -165,6 +165,9 @@ typedef struct _rfbProtocolExtension {
/* returns FALSE if extension should be deactivated for client.
if init == NULL, it stays activated. */
rfbBool (*init)(struct _rfbClientRec* client, void* data);
+ /* returns TRUE if that pseudo encoding is handled by the extension */
+ rfbBool (*enablePseudoEncoding)(struct _rfbClientRec* client,
+ void* data, int encodingNumber);
/* returns TRUE if message was handled */
rfbBool (*handleMessage)(struct _rfbClientRec* client,
void* data,