DEBUG ("type = %s, key = %s, value = %s",
ESCAPE_NULL(type),
DEBUG ("type = %s, key = %s, value = %s",
ESCAPE_NULL(type),
static int dispatch_value_plugindir (oconfig_item_t *ci)
{
assert (strcasecmp (ci->key, "PluginDir") == 0);
static int dispatch_value_plugindir (oconfig_item_t *ci)
{
assert (strcasecmp (ci->key, "PluginDir") == 0);
qsort ((void *) filenames, filenames_num, sizeof (*filenames),
cf_compare_string);
qsort ((void *) filenames, filenames_num, sizeof (*filenames),
cf_compare_string);
/* wordexp() might return a sorted list already. That's not
* documented though, so let's make sure we get what we want. */
/* wordexp() might return a sorted list already. That's not
* documented though, so let's make sure we get what we want. */
return ((cf_global_options[i].value != NULL)
? cf_global_options[i].value
: cf_global_options[i].def);
return ((cf_global_options[i].value != NULL)
? cf_global_options[i].value
: cf_global_options[i].def);