aboutsummaryrefslogtreecommitdiff
path: root/configfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'configfile.h')
-rw-r--r--configfile.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/configfile.h b/configfile.h
new file mode 100644
index 0000000..af7ca19
--- /dev/null
+++ b/configfile.h
@@ -0,0 +1,10 @@
+#ifndef CONFIGFILE_H
+#define CONFIGFILE_H
+
+#include "cgit.h"
+
+typedef void (*configfile_value_fn)(const char *name, const char *value);
+
+extern int parse_configfile(const char *filename, configfile_value_fn fn);
+
+#endif /* CONFIGFILE_H */