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.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/beaker_globals.h b/src/beaker_globals.h
index 7b727bc..7418808 100644
--- a/src/beaker_globals.h
+++ b/src/beaker_globals.h
@@ -1,7 +1,8 @@
-#ifndef BEAKER_GLOBALS_H
+#ifndef BEAKER_GLOBALS_H
#define BEAKER_GLOBALS_H
-#include "../beaker.h"
+#include "../beaker.h"
+#include <stdatomic.h>
extern RouteHandler handlers[MAX_HANDLERS];
@@ -15,4 +16,10 @@ extern __thread int cookies_to_set_count;
extern __thread char current_request_buffer[BUFFER_SIZE];
+extern Locale *locales;
+
+extern int locale_count;
+
+extern int locale_capacity;
+
#endif \ No newline at end of file