aboutsummaryrefslogtreecommitdiff
path: root/websocksy.h
diff options
context:
space:
mode:
Diffstat (limited to 'websocksy.h')
-rw-r--r--websocksy.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/websocksy.h b/websocksy.h
index 59ec5b2..f50bb46 100644
--- a/websocksy.h
+++ b/websocksy.h
@@ -1,3 +1,5 @@
+#ifndef WEBSOCKSY_HEADER_INCLUDED
+#define WEBSOCKSY_HEADER_INCLUDED
#include <stdint.h>
#include <stdlib.h>
#include <nettle/sha1.h>
@@ -199,3 +201,9 @@ typedef struct /*_ws_backend*/ {
ws_backend_query query;
ws_backend_cleanup cleanup;
} ws_backend;
+
+/* Internal helper functions */
+char* xstr_lower(char* in);
+int client_register(websocket* ws);
+int client_connect(websocket* ws);
+#endif