summaryrefslogtreecommitdiffstats
path: root/libvncserver/ws_decode.h
diff options
context:
space:
mode:
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 {