aboutsummaryrefslogtreecommitdiff
path: root/src/Config.h
diff options
context:
space:
mode:
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