#include "configfile.h"
#include "types_list.h"
#include "utils_threshold.h"
+#include "filter_chain.h"
#if HAVE_WORDEXP_H
# include <wordexp.h>
return (dispatch_block_plugin (ci));
else if (strcasecmp (ci->key, "Threshold") == 0)
return (ut_config (ci));
+ else if (strcasecmp (ci->key, "Chain") == 0)
+ return (fc_configure (ci));
return (0);
}
int success = 0;
int failure = 0;
- le = llist_head (list_write);
+ le = llist_head (list_flush);
while (le != NULL)
{
callback = le->value;
}
else /* plugin != NULL */
{
- le = llist_head (list_write);
+ le = llist_head (list_flush);
while (le != NULL)
{
if (strcasecmp (plugin, le->key) == 0)