summaryrefslogtreecommitdiffstats
path: root/include/rfbproto.h
diff options
context:
space:
mode:
authordscho <dscho>2003-02-08 14:26:39 +0000
committerdscho <dscho>2003-02-08 14:26:39 +0000
commit9f6a47087b28fc230e804da404798acb9641cb4e (patch)
tree2cd09d3004d7142637efc42f74b6722122f27c1d /include/rfbproto.h
parent6c78073285536d214d877eae42bf534f79fdd8b2 (diff)
downloadlibtdevnc-9f6a47087b28fc230e804da404798acb9641cb4e.tar.gz
libtdevnc-9f6a47087b28fc230e804da404798acb9641cb4e.zip
autoconf'ed everything
Diffstat (limited to 'include/rfbproto.h')
-rw-r--r--include/rfbproto.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/rfbproto.h b/include/rfbproto.h
index 0fb19b3..bdb9670 100644
--- a/include/rfbproto.h
+++ b/include/rfbproto.h
@@ -296,9 +296,11 @@ typedef struct {
#define rfbEncodingRRE 2
#define rfbEncodingCoRRE 4
#define rfbEncodingHextile 5
+#ifdef HAVE_LIBZ
#define rfbEncodingZlib 6
#define rfbEncodingTight 7
#define rfbEncodingZlibHex 8
+#endif
#ifdef BACKCHANNEL
#define rfbEncodingBackChannel 15
#endif
@@ -488,7 +490,7 @@ typedef struct {
#define rfbHextileExtractW(byte) (((byte) >> 4) + 1)
#define rfbHextileExtractH(byte) (((byte) & 0xf) + 1)
-
+#ifdef HAVE_LIBZ
/*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
* zlib - zlib compressed Encoding. We have an rfbZlibHeader structure
* giving the number of bytes following. Finally the data follows is
@@ -637,6 +639,8 @@ typedef struct {
#define rfbTightFilterPalette 0x01
#define rfbTightFilterGradient 0x02
+#endif
+
/*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
* XCursor encoding. This is a special encoding used to transmit X-style
* cursor shapes from server to clients. Note that for this encoding,