aboutsummaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
authorforever2k38 <forever2k38@noreply.codeberg.org>2026-08-31 01:44:47 +0200
committerforever2k38 <forever2k38@noreply.codeberg.org>2026-08-31 01:44:47 +0200
commitb09a640e1dd7b30ff05093e14190da99bb3cac32 (patch)
treeb94e413ac91f671c360324263ede968bbeab364f /src/config.h
parent3fb1ed5677f46db2a423244bb49e265e9ad67f74 (diff)
feat: repos array
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h
index ba2d319..e672267 100644
--- a/src/config.h
+++ b/src/config.h
@@ -1,11 +1,14 @@
#include "repo.h"
#include "lua.h"
+#include <stddef.h>
typedef struct {
pow_repo **repos;
+ size_t repos_count;
lua_State *L;
} pow_config;
int pow_open_config(pow_config *cfg, char *path);
+int pow_close_config(pow_config *cfg);