summaryrefslogtreecommitdiffstats
path: root/conf.h
diff options
context:
space:
mode:
Diffstat (limited to 'conf.h')
-rw-r--r--conf.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/conf.h b/conf.h
new file mode 100644
index 0000000..1ce6a17
--- /dev/null
+++ b/conf.h
@@ -0,0 +1,15 @@
+#ifndef _CONF_H
+#define _CONF_H
+
+typedef struct config_t {
+ char **repos;
+ int size;
+ int capacity;
+} config_t;
+
+int config_parse(config_t *config, const char *filename);
+void config_reset(config_t *config);
+
+#endif /* _CONF_H */
+
+/* vim: set et ts=2 sw=2: */