summaryrefslogtreecommitdiffstats
path: root/rfb
diff options
context:
space:
mode:
Diffstat (limited to 'rfb')
-rw-r--r--rfb/rfb.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/rfb/rfb.h b/rfb/rfb.h
index 4f3a664..b28a863 100644
--- a/rfb/rfb.h
+++ b/rfb/rfb.h
@@ -589,6 +589,17 @@ typedef struct _rfbClientRec {
int progressiveSliceY;
rfbExtensionData* extensions;
+
+ /* for threaded zrle */
+ char *zrleBeforeBuf;
+ void *paletteHelper;
+
+ /* for thread safety for rfbSendFBUpdate() */
+#ifdef LIBVNCSERVER_HAVE_LIBPTHREAD
+#define LIBVNCSERVER_SEND_MUTEX
+ MUTEX(sendMutex);
+#endif
+
} rfbClientRec, *rfbClientPtr;
/*