summaryrefslogtreecommitdiff
path: root/src/config/config.h
diff options
context:
space:
mode:
authorSoikk2025-11-22 16:42:08 +0100
committerSoikk2025-11-22 16:42:08 +0100
commit3abcc43f1e638608b4b88bbb0ad7881d74940f8d (patch)
treed5b5e2bf93ff0bbcf3c3d860c2266516e91492c4 /src/config/config.h
parentc2e397b6ee390d06f1af8921a514fdcf90e3f2fa (diff)
downloadsoikk-server-3abcc43f1e638608b4b88bbb0ad7881d74940f8d.tar.xz
soikk-server-3abcc43f1e638608b4b88bbb0ad7881d74940f8d.tar.zst
Rewrites and IPC rework
- Moved functionality to temporary server directory - Separated rewrites - Moved IPC back to signals - Added get_key() in config - Reworked receive_request() - Improved error handling
Diffstat (limited to 'src/config/config.h')
-rw-r--r--src/config/config.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/config/config.h b/src/config/config.h
index 3f74fc3..70435ac 100644
--- a/src/config/config.h
+++ b/src/config/config.h
@@ -5,6 +5,7 @@
#include "log/log.h"
#include "list/list.h"
#include "mime/mime.h"
+#include "rewrites/rewrites.h"
#include <errno.h>
@@ -32,10 +33,12 @@ typedef struct config_w {
config_m master_config(char *filename);
config_w worker_config(char *filename);
+str get_key(str file, str key);
+
void free_master_config(config_m *conf);
void free_worker_config(config_w *conf);
void print_master_config(config_m conf);
void print_worker_config(config_w conf);
-#endif
+#endif \ No newline at end of file