From 0efb3c61a9575eede8984f362dfa6cd0b7562f4a Mon Sep 17 00:00:00 2001 From: Phil Jones Date: Tue, 6 Dec 2022 11:51:41 +0000 Subject: Add config file unit tests and fix some bugs. --- src/config.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/config.h') diff --git a/src/config.h b/src/config.h index 8dbd241..a9f0c56 100644 --- a/src/config.h +++ b/src/config.h @@ -1,10 +1,11 @@ #ifndef TOFI_CONFIG_H #define TOFI_CONFIG_H +#include #include "tofi.h" void config_load(struct tofi *tofi, const char *filename); -void config_apply(struct tofi *tofi, const char *option, const char *value); +bool config_apply(struct tofi *tofi, const char *option, const char *value); void config_fixup_values(struct tofi *tofi); #endif /* TOFI_CONFIG_H */ -- cgit v1.2.3