aboutsummaryrefslogtreecommitdiff
path: root/websocksy.h
diff options
context:
space:
mode:
Diffstat (limited to 'websocksy.h')
-rw-r--r--websocksy.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/websocksy.h b/websocksy.h
index 794b4ed..275b9ab 100644
--- a/websocksy.h
+++ b/websocksy.h
@@ -1,12 +1,14 @@
#include <stdint.h>
#include <stdlib.h>
+#include <nettle/sha1.h>
+#include <nettle/base64.h>
#define WS_MAX_LINE 16384
typedef enum {
ws_new = 0,
ws_http,
- ws_rfc6455
+ ws_open
} ws_state;
struct {