summaryrefslogtreecommitdiffstats
path: root/rfb/rfb.h
diff options
context:
space:
mode:
authordscho <dscho>2005-10-06 18:51:56 +0000
committerdscho <dscho>2005-10-06 18:51:56 +0000
commit60f1770e1081e81502dc2ba000c27f730f5c1e7c (patch)
tree3ba360d24fbe6b087c9f526760f3fa23c094df5a /rfb/rfb.h
parent354d3c9a92624813ec934d5a9b6870763f445477 (diff)
downloadlibtdevnc-60f1770e1081e81502dc2ba000c27f730f5c1e7c.tar.gz
libtdevnc-60f1770e1081e81502dc2ba000c27f730f5c1e7c.zip
provide a list of the pseudo encodings understood by the extension
Diffstat (limited to 'rfb/rfb.h')
-rw-r--r--rfb/rfb.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/rfb/rfb.h b/rfb/rfb.h
index f7ba150..bdd895f 100644
--- a/rfb/rfb.h
+++ b/rfb/rfb.h
@@ -165,7 +165,11 @@ 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 */
+ /* if pseudoEncodings is not NULL, it contains a 0 terminated
+ list of the pseudo encodings handled by this extension. */
+ int *pseudoEncodings;
+ /* returns TRUE if that pseudo encoding is handled by the extension.
+ encodingNumber==0 means "reset encodings". */
rfbBool (*enablePseudoEncoding)(struct _rfbClientRec* client,
void* data, int encodingNumber);
/* returns TRUE if message was handled */