aboutsummaryrefslogtreecommitdiff
path: root/plugins/backend_file.h
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2019-06-01 21:27:52 +0200
committercbdev <cb@cbcdn.com>2019-06-01 21:27:52 +0200
commitb9297647c68c963a977e2c18f421211e24f9e85a (patch)
tree173d0533f7c76665dea9956ed4da4f3228e01dc9 /plugins/backend_file.h
parent92a291b5fae32caba2212192bc94b8ef568c362d (diff)
downloadwebsocksy-b9297647c68c963a977e2c18f421211e24f9e85a.tar.gz
websocksy-b9297647c68c963a977e2c18f421211e24f9e85a.tar.bz2
websocksy-b9297647c68c963a977e2c18f421211e24f9e85a.zip
Implement file backend
Diffstat (limited to 'plugins/backend_file.h')
-rw-r--r--plugins/backend_file.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/backend_file.h b/plugins/backend_file.h
new file mode 100644
index 0000000..04b3528
--- /dev/null
+++ b/plugins/backend_file.h
@@ -0,0 +1,6 @@
+#include "../websocksy.h"
+
+uint64_t init();
+uint64_t configure(char* key, char* value);
+ws_peer_info query(char* endpoint, size_t protocols, char** protocol, size_t headers, ws_http_header* header, websocket* ws);
+void cleanup();