summaryrefslogtreecommitdiffstats
path: root/conf.h
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2014-11-16 17:41:00 -0500
committerDave Reisner <dreisner@archlinux.org>2014-11-16 17:42:23 -0500
commit1f4a917495864544862f28b080a5b9fe6dd8865b (patch)
treebd18f6261360f4eab5110a52d79ec5ed5242bc54 /conf.h
parente54969e6ad8f6fe23c2703ef100e9dbeb050b1fe (diff)
downloadexpac-1f4a917495864544862f28b080a5b9fe6dd8865b.tar.xz
handle RootDir and DBPath from pacman config
Diffstat (limited to 'conf.h')
-rw-r--r--conf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/conf.h b/conf.h
index 1ce6a17..da2e64b 100644
--- a/conf.h
+++ b/conf.h
@@ -5,6 +5,9 @@ typedef struct config_t {
char **repos;
int size;
int capacity;
+
+ char *dbroot;
+ char *dbpath;
} config_t;
int config_parse(config_t *config, const char *filename);