summaryrefslogtreecommitdiffstats
path: root/rfb
diff options
context:
space:
mode:
authordscho <dscho>2005-10-06 19:07:01 +0000
committerdscho <dscho>2005-10-06 19:07:01 +0000
commitd15e35586baac59e5fe585a86d26cb606bd87969 (patch)
tree2a671865dfa9065f7a0ffee7da9d7f659a57163c /rfb
parent60f1770e1081e81502dc2ba000c27f730f5c1e7c (diff)
downloadlibvncserver-d15e35586baac59e5fe585a86d26cb606bd87969.zip
libvncserver-d15e35586baac59e5fe585a86d26cb606bd87969.tar.gz
kill BackChannel and CustomClientMessage: the new extension technique makes these hooks obsolete
Diffstat (limited to 'rfb')
-rw-r--r--rfb/rfb.h13
-rw-r--r--rfb/rfbproto.h11
2 files changed, 0 insertions, 24 deletions
diff --git a/rfb/rfb.h b/rfb/rfb.h
index bdd895f..3338f7d 100644
--- a/rfb/rfb.h
+++ b/rfb/rfb.h
@@ -133,7 +133,6 @@ typedef rfbBool (*rfbSetTranslateFunctionProcPtr)(struct _rfbClientRec* cl);
typedef rfbBool (*rfbPasswordCheckProcPtr)(struct _rfbClientRec* cl,const char* encryptedPassWord,int len);
typedef enum rfbNewClientAction (*rfbNewClientHookPtr)(struct _rfbClientRec* cl);
typedef void (*rfbDisplayHookPtr)(struct _rfbClientRec* cl);
-typedef rfbBool (*rfbProcessCustomClientMessageProcPtr)(struct _rfbClientRec* cl,uint8_t type);
typedef struct {
uint32_t count;
@@ -307,10 +306,6 @@ typedef struct _rfbScreenInfo
* link more interactive. */
int progressiveSliceHeight;
- /* if LibVNCServer doesn't know the normal message, it calls this
- * hook. If the hook handles the message, it returns TRUE. */
- rfbProcessCustomClientMessageProcPtr processCustomClientMessage;
-
in_addr_t listenInterface;
} rfbScreenInfo, *rfbScreenInfoPtr;
@@ -486,10 +481,6 @@ typedef struct _rfbClientRec {
rfbBool useNewFBSize; /* client supports NewFBSize encoding */
rfbBool newFBSizePending; /* framebuffer size was changed */
-#ifdef LIBVNCSERVER_BACKCHANNEL
- rfbBool enableBackChannel; /* custom channel for special clients */
-#endif
-
struct _rfbClientRec *prev;
struct _rfbClientRec *next;
@@ -606,10 +597,6 @@ extern void rfbSendBell(rfbScreenInfoPtr rfbScreen);
void rfbGotXCutText(rfbScreenInfoPtr rfbScreen, char *str, int len);
-#ifdef LIBVNCSERVER_BACKCHANNEL
-extern void rfbSendBackChannel(rfbScreenInfoPtr s,char* message,int len);
-#endif
-
/* translate.c */
extern rfbBool rfbEconomicTranslate;
diff --git a/rfb/rfbproto.h b/rfb/rfbproto.h
index 791b5f3..60ba763 100644
--- a/rfb/rfbproto.h
+++ b/rfb/rfbproto.h
@@ -358,9 +358,6 @@ typedef struct {
#define rfbResizeFrameBuffer 4
#define rfbKeyFrameUpdate 5
#define rfbPalmVNCReSizeFrameBuffer 0xF
-#ifdef LIBVNCSERVER_BACKCHANNEL
-#define rfbBackChannel 15
-#endif
/* client -> server */
@@ -406,9 +403,6 @@ typedef struct {
#define rfbEncodingZlibHex 8
#define rfbEncodingUltra 9
#endif
-#ifdef LIBVNCSERVER_BACKCHANNEL
-#define rfbEncodingBackChannel 15
-#endif
#ifdef LIBVNCSERVER_HAVE_LIBZ
#define rfbEncodingZRLE 16
#endif
@@ -899,11 +893,6 @@ typedef struct {
#define sz_rfbServerCutTextMsg 8
-#ifdef LIBVNCSERVER_BACKCHANNEL
-typedef rfbServerCutTextMsg rfbBackChannelMsg;
-#define sz_rfbBackChannelMsg 8
-#endif
-
/*-----------------------------------------------------------------------------
* // Modif sf@2002
OpenPOWER on IntegriCloud