summaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h
new file mode 100644
index 0000000..0bdbef2
--- /dev/null
+++ b/src/config.h
@@ -0,0 +1,21 @@
+#ifndef CONFIG_H
+#define CONFIG_H
+
+struct config {
+ GKeyFile *keyfile;
+
+ GList *priorities;
+};
+
+struct priority {
+ gchar *match, *value;
+ gint priority;
+};
+
+int
+config_init(struct config *cfg);
+
+void
+config_uninit(struct config *cfg);
+
+#endif /* CONFIG_H */