From 60f1770e1081e81502dc2ba000c27f730f5c1e7c Mon Sep 17 00:00:00 2001 From: dscho Date: Thu, 6 Oct 2005 18:51:56 +0000 Subject: provide a list of the pseudo encodings understood by the extension --- rfb/rfb.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'rfb/rfb.h') 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 */ -- cgit v1.1