aboutsummaryrefslogtreecommitdiff
path: root/src/beaker_globals.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/beaker_globals.h')
-rw-r--r--src/beaker_globals.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/beaker_globals.h b/src/beaker_globals.h
new file mode 100644
index 0000000..94aabdf
--- /dev/null
+++ b/src/beaker_globals.h
@@ -0,0 +1,18 @@
+#ifndef BEAKER_GLOBALS_H
+#define BEAKER_GLOBALS_H
+
+#include "../beaker.h"
+
+extern RouteHandler handlers[MAX_HANDLERS];
+
+extern int handler_count;
+
+extern int current_client_socket;
+
+extern Cookie cookies_to_set[MAX_COOKIES];
+
+extern int cookies_to_set_count;
+
+extern char current_request_buffer[BUFFER_SIZE];
+
+#endif \ No newline at end of file