From afa9fae0248650cb358463c37756c3560da4b57a Mon Sep 17 00:00:00 2001 From: steven_carr Date: Tue, 2 May 2006 20:53:25 +0000 Subject: Ultra Encoding added. Tested against UltraVNC V1.01 --- rfb/rfbclient.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'rfb/rfbclient.h') diff --git a/rfb/rfbclient.h b/rfb/rfbclient.h index b049613..5a219a3 100644 --- a/rfb/rfbclient.h +++ b/rfb/rfbclient.h @@ -148,13 +148,17 @@ typedef struct _rfbClient { based on the bitsPerPixel, height and width of the rectangle. We allocate this buffer one time to be the full size of the buffer. */ -#ifdef LIBVNCSERVER_HAVE_LIBZ + /* Ultra Encoding uses this buffer too */ + + int ultra_buffer_size; + char *ultra_buffer; + int raw_buffer_size; char *raw_buffer; +#ifdef LIBVNCSERVER_HAVE_LIBZ z_stream decompStream; rfbBool decompStreamInited; - #endif -- cgit v1.2.1