config: verify: break out err_prefix(), and rename

This commit is contained in:
Daniel Eklöf 2019-01-12 12:11:59 +01:00
parent 550d4ad534
commit d2af5b2c84
2 changed files with 30 additions and 27 deletions

View file

@ -26,6 +26,10 @@ chain_pop(keychain_t *chain)
tll_pop_back(*chain);
}
const char *conf_err_prefix(
const keychain_t *chain, const struct yml_node *node);
bool conf_verify_string(keychain_t *chain, const struct yml_node *node);
bool conf_verify_int(keychain_t *chain, const struct yml_node *node);