summaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2022-12-06 11:51:41 +0000
committerPhil Jones <philj56@gmail.com>2022-12-06 11:51:41 +0000
commit0efb3c61a9575eede8984f362dfa6cd0b7562f4a (patch)
tree9dd96f4b9c4382886c3981a8c7ca222966d0c571 /src/config.h
parent4e06e2e09c5473f6aac630373a7bfe47e6258464 (diff)
Add config file unit tests and fix some bugs.
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h3
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 */