aboutsummaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/config.h b/src/config.h
index a5371f7..8bbee8b 100644
--- a/src/config.h
+++ b/src/config.h
@@ -10,12 +10,13 @@ typedef struct pow_config {
pow_repo **repos;
size_t repos_count;
- char *makeopts;
+ lua_State *L_global;
+ lua_State *L_cfg;
- lua_State *L;
+ int build_cfg_ref;
} pow_config;
-int pow_open_config(pow_config *cfg, char *path);
+int pow_open_config(lua_State *L, pow_config *cfg, char *path);
int pow_close_config(pow_config *cfg);
#endif