about summary refs log tree commit diff
path: root/configfile.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--configfile.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/configfile.h b/configfile.h
new file mode 100644
index 0000000..04235e5
--- /dev/null
+++ b/configfile.h
@@ -0,0 +1,8 @@
+#ifndef CONFIGFILE_H
+#define CONFIGFILE_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 */