The flush callbacks not take two parameters, this was forgotten here.
void plugin_flush_all (int timeout)
{
- int (*callback) (int);
+ int (*callback) (int timeout, const char *identifier);
llentry_t *le;
if (list_flush == NULL)
le = llist_head (list_flush);
while (le != NULL)
{
- callback = (int (*) (int)) le->value;
+ callback = (int (*) (int, const char *)) le->value;
le = le->next;
- (*callback) (timeout);
+ (*callback) (timeout, NULL);
}
} /* void plugin_flush_all */