aboutsummaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
authorforever2k38 <forever2k38@noreply.codeberg.org>2026-08-30 18:05:26 +0200
committerforever2k38 <forever2k38@noreply.codeberg.org>2026-08-30 18:05:26 +0200
commit02fd79105a7fe5ac6a04e76db27b163e4064f759 (patch)
treeb4cdc0ad498078555259bf71c0fe8b445f23217d /src/config.h
parent5e2367bfbe6a06c493d4b8e50917fb599a9ee5af (diff)
work on config and args
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..9150a82
--- /dev/null
+++ b/src/config.h
@@ -0,0 +1,11 @@
+#include "repo.h"
+
+#include "lua.h"
+
+typedef struct {
+ pow_repo **repos;
+
+ lua_State *L;
+} pow_config;
+
+int open_config(pow_config *cfg, char *path);