summaryrefslogtreecommitdiffstats
path: root/rfb/rfb.h
diff options
context:
space:
mode:
Diffstat (limited to 'rfb/rfb.h')
-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;
/*