diff options
author | Gernot Tenchio <[email protected]> | 2011-08-25 12:12:17 +0200 |
---|---|---|
committer | Gernot Tenchio <[email protected]> | 2011-08-25 12:19:52 +0200 |
commit | 55234a37fd0f865261c09b602b94444d42f35daa (patch) | |
tree | ce77840c587ef35f083f47ea87a8a301befb46de /rfb/rfb.h | |
parent | 1408866c864cac3b1bbf37eb9fdc8d303f37957d (diff) | |
download | libtdevnc-55234a37fd0f865261c09b602b94444d42f35daa.tar.gz libtdevnc-55234a37fd0f865261c09b602b94444d42f35daa.zip |
websockets: Move Hixie disconnect hack to websockets.c
Move the hixie disconnect hack to websockets.c. Removed
the remaining websockets vars from rfbClientPtr, so all
websockets stuff is hidden behind an opaque pointer.
Diffstat (limited to 'rfb/rfb.h')
-rw-r--r-- | rfb/rfb.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -640,8 +640,6 @@ typedef struct _rfbClientRec { #endif #ifdef LIBVNCSERVER_WITH_WEBSOCKETS - rfbBool webSockets; - rfbBool webSocketsBase64; rfbSslCtx *sslctx; wsCtx *wsctx; char *wspath; /* Requests path component */ @@ -712,6 +710,7 @@ extern rfbBool rfbSetNonBlocking(int sock); /* websockets.c */ extern rfbBool webSocketsCheck(rfbClientPtr cl); +extern rfbBool webSocketCheckDisconnect(rfbClientPtr cl); extern int webSocketsEncode(rfbClientPtr cl, const char *src, int len, char **dst); extern int webSocketsDecode(rfbClientPtr cl, char *dst, int len); #endif |