summaryrefslogtreecommitdiffstats
path: root/libvncserver/ws_decode.h
diff options
context:
space:
mode:
authorAndreas Weigel <andreaswe@securepoint.de>2017-02-20 11:24:18 +0100
committerChristian Beier <dontmind@freeshell.org>2017-05-14 20:38:23 +0200
commitf19d6ee225ff35eb54ca06927a921c98ff721adc (patch)
treee6c36654f7dbc2762b73c53c03ca3fa19e2ea5d7 /libvncserver/ws_decode.h
parenta2322e70069b30fb4f86248d6a6bce6d2a9c11e1 (diff)
downloadlibtdevnc-f19d6ee225ff35eb54ca06927a921c98ff721adc.tar.gz
libtdevnc-f19d6ee225ff35eb54ca06927a921c98ff721adc.zip
add ws_decode tests
modify automake to include ws_decode test add python frame generator for decode tests modify configure to only include ws_decode test if preconditions are fulfilled
Diffstat (limited to 'libvncserver/ws_decode.h')
-rw-r--r--libvncserver/ws_decode.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/libvncserver/ws_decode.h b/libvncserver/ws_decode.h
index e75c4d1..fac3c68 100644
--- a/libvncserver/ws_decode.h
+++ b/libvncserver/ws_decode.h
@@ -50,13 +50,11 @@ typedef struct ws_ctx_s ws_ctx_t;
typedef int (*wsEncodeFunc)(rfbClientPtr cl, const char *src, int len, char **dst);
typedef int (*wsDecodeFunc)(ws_ctx_t *wsctx, char *dst, int len);
-typedef int (*wsReadFunc)(void *ctx, char *dst, int len);
-typedef int (*wsPeekFunc)(void *ctx, char *dst, int len);
+typedef int (*wsReadFunc)(void *ctx, char *dst, size_t len);
typedef struct ctxInfo_s{
void *ctxPtr;
wsReadFunc readFunc;
- wsPeekFunc peekFunc;
} ctxInfo_t;
enum {