aboutsummaryrefslogtreecommitdiff
path: root/src/beaker_globals.h
diff options
context:
space:
mode:
authorfrosty <frosty@illegalfirearms.store>2025-12-28 03:26:05 -0500
committerfrosty <frosty@illegalfirearms.store>2025-12-28 03:26:05 -0500
commit4af132cf6adeeeeb5d6764c378bec2d05cad042f (patch)
treee422cff2831424775ba5c20196064f94cbe1e5c3 /src/beaker_globals.h
Migrated from GitHub
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