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