free (this);
break;
}
-}
+} /* void cf_unregister */
void cf_register (const char *type,
int (*callback) (const char *, const char *),
return (register_callback (&list_log, name, (void *) callback));
} /* int plugin_register_log */
+int plugin_unregister_config (const char *name)
+{
+ cf_unregister (name);
+ return (0);
+} /* int plugin_unregister_config */
+
int plugin_unregister_init (const char *name)
{
return (plugin_unregister (list_init, name));
int plugin_register_log (char *name,
void (*callback) (int, const char *));
+int plugin_unregister_config (const char *name);
int plugin_unregister_init (const char *name);
int plugin_unregister_read (const char *name);
int plugin_unregister_write (const char *name);