Make filter const correct and use snake case

CamelCase is still in use with the printing functions.
This commit is contained in:
Johan Wikman
2016-11-30 15:19:14 +02:00
parent b3e31a3da2
commit a6df875495
6 changed files with 43 additions and 44 deletions

View File

@ -3183,7 +3183,7 @@ int create_new_filter(CONFIG_CONTEXT *obj)
char *s = strtok_r(options, ",", &lasts);
while (s)
{
filterAddOption(obj->element, s);
filter_add_option(obj->element, s);
s = strtok_r(NULL, ",", &lasts);
}
}
@ -3193,7 +3193,7 @@ int create_new_filter(CONFIG_CONTEXT *obj)
{
if (strcmp(params->name, "module") && strcmp(params->name, "options"))
{
filterAddParameter(obj->element, params->name, params->value);
filter_add_parameter(obj->element, params->name, params->value);
}
params = params->next;
}