diff options
author | David Härdeman <david@hardeman.nu> | 2020-06-30 08:54:52 +0200 |
---|---|---|
committer | David Härdeman <david@hardeman.nu> | 2020-06-30 08:54:52 +0200 |
commit | 769457c165488fb8059ecb843a1c200f69dce95d (patch) | |
tree | 8ea46bc8f22454681130c7ce9958443ca1e4d440 /shared/config-parser.h | |
parent | a89a0f918925a662503c1bcb28bdb06ab9b7ef25 (diff) |
Centralize scfg validation and use in minecctl to implement a lint command
Diffstat (limited to 'shared/config-parser.h')
-rw-r--r-- | shared/config-parser.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shared/config-parser.h b/shared/config-parser.h index 2220221..2990349 100644 --- a/shared/config-parser.h +++ b/shared/config-parser.h @@ -85,6 +85,8 @@ struct cfg_value { }; }; +bool scfg_validate(struct server_config *scfg); + bool scfg_parse(struct server_config *scfg, char *buf, notification_cb_t notification_cb); |