From 25b2c9f895fd91fb556809ce513d3681ad279938 Mon Sep 17 00:00:00 2001 From: Phil Jones Date: Tue, 21 Jun 2022 19:14:47 +0100 Subject: Add config file handling. Single letter style arguments have been removed. --- src/config.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/config.h (limited to 'src/config.h') 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 */ -- cgit v1.2.3