diff options
author | Phil Jones <philj56@gmail.com> | 2022-12-06 11:51:41 +0000 |
---|---|---|
committer | Phil Jones <philj56@gmail.com> | 2022-12-06 11:51:41 +0000 |
commit | 0efb3c61a9575eede8984f362dfa6cd0b7562f4a (patch) | |
tree | 9dd96f4b9c4382886c3981a8c7ca222966d0c571 /src/config.h | |
parent | 4e06e2e09c5473f6aac630373a7bfe47e6258464 (diff) |
Add config file unit tests and fix some bugs.
Diffstat (limited to 'src/config.h')
-rw-r--r-- | src/config.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 <stdbool.h> #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 */ |