From 769457c165488fb8059ecb843a1c200f69dce95d Mon Sep 17 00:00:00 2001 From: David Härdeman Date: Tue, 30 Jun 2020 08:54:52 +0200 Subject: Centralize scfg validation and use in minecctl to implement a lint command --- shared/config-parser.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'shared/config-parser.h') 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); -- cgit v1.2.3