aboutsummaryrefslogtreecommitdiff
path: root/src/Config.h
diff options
context:
space:
mode:
authorfrosty <gabriel@bwaaa.monster>2026-02-23 00:57:21 -0500
committerfrosty <gabriel@bwaaa.monster>2026-02-23 00:57:21 -0500
commitb280ab6bcdf6c9bae46a7a21b7138d46d953dd71 (patch)
tree39cea490a82a1ae5072c19d1d050d90b881d1a15 /src/Config.h
downloadomnisearch-b280ab6bcdf6c9bae46a7a21b7138d46d953dd71.tar.gz
oopsies
Diffstat (limited to 'src/Config.h')
-rw-r--r--src/Config.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Config.h b/src/Config.h
new file mode 100644
index 0000000..384ed94
--- /dev/null
+++ b/src/Config.h
@@ -0,0 +1,11 @@
+#ifndef CONFIG_H
+#define CONFIG_H
+
+typedef struct {
+ char host[256];
+ int port;
+} Config;
+
+int load_config(const char *filename, Config *config);
+
+#endif \ No newline at end of file