summary refs log tree commit diff
path: root/www/git.causal.agency/cgit/configfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'www/git.causal.agency/cgit/configfile.h')
-rw-r--r--www/git.causal.agency/cgit/configfile.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/www/git.causal.agency/cgit/configfile.h b/www/git.causal.agency/cgit/configfile.h
new file mode 100644
index 00000000..af7ca197
--- /dev/null
+++ b/www/git.causal.agency/cgit/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 */