summaryrefslogtreecommitdiffstats
path: root/src/websock.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/websock.h')
-rw-r--r--src/websock.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/websock.h b/src/websock.h
index da44a88b..3be89dfe 100644
--- a/src/websock.h
+++ b/src/websock.h
@@ -75,3 +75,5 @@ extern int websock_dispatch(struct websock *ws, int loop);
extern struct websock *websock_create_v13(const struct websock_itf *itf, void *closure);
extern void websock_destroy(struct websock *ws);
+extern void websock_set_default_max_length(size_t maxlen);
+extern void websock_set_max_length(struct websock *ws, size_t maxlen);