about summary refs log tree commit diff stats
path: root/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.h')
-rw-r--r--config.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/config.h b/config.h
new file mode 100644
index 0000000..22eeef6
--- /dev/null
+++ b/config.h
@@ -0,0 +1,14 @@
+#ifndef RF_CONFIG_H
+#define RF_CONFIG_H
+
+#include <ctype.h>
+#include <stdio.h>
+
+#define KV_STRING_LIMIT 1024
+
+extern char config_key[KV_STRING_LIMIT];
+extern char config_value[KV_STRING_LIMIT];
+
+int config_get(size_t *len, FILE *fp);
+
+#endif