Added "yes" and "no" to the config truth value check and added the function to the header.

This commit is contained in:
Markus Makela
2015-02-18 11:45:01 +02:00
parent da029140cd
commit 03456b931b
3 changed files with 6 additions and 5 deletions

View File

@ -107,7 +107,7 @@ extern unsigned int config_pollsleep();
CONFIG_PARAMETER* config_get_param(CONFIG_PARAMETER* params, const char* name);
config_param_type_t config_get_paramtype(CONFIG_PARAMETER* param);
CONFIG_PARAMETER* config_clone_param(CONFIG_PARAMETER* param);
static int config_truth_value(char *str);
bool config_set_qualified_param(
CONFIG_PARAMETER* param,
void* val,