int plugin_unregister_read (const char *name)
{
- return (plugin_unregister (list_read, name));
llentry_t *e;
e = llist_search (list_read, name);
le = llist_head (list_init);
while (le != NULL)
{
- callback = le->value;
+ callback = (int (*) (void)) le->value;
status = (*callback) ();
if (status != 0)
le = llist_head (list_shutdown);
while (le != NULL)
{
- callback = le->value;
+ callback = (int (*) (void)) le->value;
(*callback) ();
le = le->next;
le = llist_head (list_write);
while (le != NULL)
{
- callback = le->value;
+ callback = (int (*) (const data_set_t *, const value_list_t *)) le->value;
(*callback) (ds, vl);
le = le->next;
le = llist_head (list_log);
while (le != NULL)
{
- callback = le->value;
+ callback = (void (*) (int, const char *)) le->value;
(*callback) (level, msg);
le = le->next;