summaryrefslogtreecommitdiffstats
path: root/rfbproto.h
diff options
context:
space:
mode:
Diffstat (limited to 'rfbproto.h')
-rw-r--r--rfbproto.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/rfbproto.h b/rfbproto.h
index 2103c81..aa2f54b 100644
--- a/rfbproto.h
+++ b/rfbproto.h
@@ -268,7 +268,9 @@ typedef struct {
#define rfbSetColourMapEntries 1
#define rfbBell 2
#define rfbServerCutText 3
-
+#ifdef BACKCHANNEL
+#define rfbBackChannel 15
+#endif
/* client -> server */
@@ -297,6 +299,9 @@ typedef struct {
#define rfbEncodingZlib 6
#define rfbEncodingTight 7
#define rfbEncodingZlibHex 8
+#ifdef BACKCHANNEL
+#define rfbEncodingBackChannel 15
+#endif
/*
* Special encoding numbers:
@@ -508,7 +513,6 @@ typedef struct {
#define rfbTightFilterPalette 0x01
#define rfbTightFilterGradient 0x02
-
/*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
* XCursor encoding. This is a special encoding used to transmit X-style
* cursor shapes from server to clients. Note that for this encoding,
@@ -604,6 +608,10 @@ typedef struct {
#define sz_rfbServerCutTextMsg 8
+#ifdef BACKCHANNEL
+typedef rfbServerCutTextMsg rfbBackChannelMsg;
+#endif
+
/*-----------------------------------------------------------------------------
* Union of all server->client messages.