aboutsummaryrefslogtreecommitdiff
path: root/websocksy.c
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2019-06-20 15:23:45 +0200
committercbdev <cb@cbcdn.com>2019-06-20 15:23:45 +0200
commit7a1b8a0fefe9a2a0fae6289195e2936ec9c17000 (patch)
treed8ac7b6055ac661cbf65208995cea182cf690e9a /websocksy.c
parent3c75202f5f4e9c1c61fead33f0f08e742d143223 (diff)
downloadwebsocksy-7a1b8a0fefe9a2a0fae6289195e2936ec9c17000.tar.gz
websocksy-7a1b8a0fefe9a2a0fae6289195e2936ec9c17000.tar.bz2
websocksy-7a1b8a0fefe9a2a0fae6289195e2936ec9c17000.zip
Implement fixedlength framing
Diffstat (limited to 'websocksy.c')
-rw-r--r--websocksy.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/websocksy.c b/websocksy.c
index 8b37cec..5c29f8c 100644
--- a/websocksy.c
+++ b/websocksy.c
@@ -194,6 +194,10 @@ ws_framing core_framing(char* name){
return plugin_framing(name);
}
+int core_register_framing(char* name, ws_framing func){
+ return plugin_register_framing(name, func);
+}
+
/* Signal handler, attached to SIGINT */
static void signal_handler(int signum){
shutdown_requested = 1;