diff options
Diffstat (limited to 'shared/config-parser.h')
-rw-r--r-- | shared/config-parser.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/shared/config-parser.h b/shared/config-parser.h index 262fe09..ffce5d4 100644 --- a/shared/config-parser.h +++ b/shared/config-parser.h @@ -85,10 +85,11 @@ struct cfg_value { }; }; -bool scfg_validate(struct server_config *scfg); +bool scfg_validate(struct server_config *scfg, const char **error); bool scfg_parse(struct server_config *scfg, char *buf, - notification_cb_t notification_cb); + notification_cb_t notification_cb, unsigned *lineno, + const char **error); void scfg_delete(struct server_config *scfg); |