summaryrefslogtreecommitdiffstats
path: root/rfb/rfb.h
diff options
context:
space:
mode:
authorGernot Tenchio <gernot.tenchio@securepoint.de>2011-08-16 14:02:39 +0200
committerJohannes Schindelin <johannes.schindelin@gmx.de>2011-08-17 12:46:30 +0200
commit297072a691970fb7e2cd379b62f52f30d5988592 (patch)
tree1a8a7dbe364a5af99dc38d6debd2ca61a5818d07 /rfb/rfb.h
parentb543d48677082cf23b771a4e16ceccccc2f7d9e1 (diff)
downloadlibtdevnc-297072a691970fb7e2cd379b62f52f30d5988592.tar.gz
libtdevnc-297072a691970fb7e2cd379b62f52f30d5988592.zip
websockets: Add wspath member to rfbClientRec
Added wspath member to rfbClientRec which holds the path component of the initial websocket request. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Diffstat (limited to 'rfb/rfb.h')
-rw-r--r--rfb/rfb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/rfb/rfb.h b/rfb/rfb.h
index b6fb7c0..9239b35 100644
--- a/rfb/rfb.h
+++ b/rfb/rfb.h
@@ -645,6 +645,7 @@ typedef struct _rfbClientRec {
rfbSslCtx *sslctx;
+ char *wspath; /* Requests path component */
char encodeBuf[UPDATE_BUF_SIZE*2 + 2]; /* UTF-8 could double it + framing */
char decodeBuf[8192]; /* TODO: what makes sense? */
int dblen;