X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fdaemon%2Fplugin.h;h=cba298cfc4355a3783ac918b9589c8bb94ee6f52;hb=b4cc5c7399adf79198aea816d44a42df25431d15;hp=86a2d6625acaa7937fd44f7eb3f453bcfc2f9df8;hpb=b57d6e25aa792f0461aee4e5bd6d1838c478af50;p=collectd.git diff --git a/src/daemon/plugin.h b/src/daemon/plugin.h index 86a2d662..cba298cf 100644 --- a/src/daemon/plugin.h +++ b/src/daemon/plugin.h @@ -322,6 +322,17 @@ int plugin_unregister_data_set (const char *name); int plugin_unregister_log (const char *name); int plugin_unregister_notification (const char *name); +/* + * NAME + * plugin_log_available_writers + * + * DESCRIPTION + * This function can be called to output a list of _all_ registered + * writers to the logfacility. + * Since some writers dynamically build their name it can be hard for + * the configuring person to know it. This function will fill this gap. + */ +void plugin_log_available_writers (void); /* * NAME @@ -446,4 +457,10 @@ cdtime_t plugin_get_interval (void); int plugin_thread_create (pthread_t *thread, const pthread_attr_t *attr, void *(*start_routine) (void *), void *arg); +/* + * Plugins need to implement this + */ + +void module_register (void); + #endif /* PLUGIN_H */