summaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2022-06-21 19:14:47 +0100
committerPhil Jones <philj56@gmail.com>2022-06-21 19:14:47 +0100
commit25b2c9f895fd91fb556809ce513d3681ad279938 (patch)
tree6fa7595308fb26e2e7d61bba95836be496b7557b /src/config.h
parent54e90f75203bbf40ec6ac6dd09227e2c6f97cc62 (diff)
Add config file handling.
Single letter style arguments have been removed.
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h
new file mode 100644
index 0000000..65e4f4d
--- /dev/null
+++ b/src/config.h
@@ -0,0 +1,9 @@
+#ifndef TOFI_CONFIG_H
+#define TOFI_CONFIG_H
+
+#include "tofi.h"
+
+void config_load(struct tofi *tofi, const char *filename);
+void apply_option(struct tofi *tofi, const char *option, const char *value);
+
+#endif /* TOFI_CONFIG_H */