X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fdaemon%2Fplugin.h;h=2e20da4c165fcbeadd82093e9c7495dc37b3474c;hb=cce136946b879557f91183e4de58e92b81e138c8;hp=86a2d6625acaa7937fd44f7eb3f453bcfc2f9df8;hpb=9817e7298bd6c364fa17347327af54adf048bd21;p=collectd.git diff --git a/src/daemon/plugin.h b/src/daemon/plugin.h index 86a2d662..2e20da4c 100644 --- a/src/daemon/plugin.h +++ b/src/daemon/plugin.h @@ -293,7 +293,7 @@ int plugin_register_read (const char *name, * "plugin_register_complex_read" returns an error (non-zero). */ int plugin_register_complex_read (const char *group, const char *name, plugin_read_cb callback, - const struct timespec *interval, + cdtime_t interval, user_data_t *user_data); int plugin_register_write (const char *name, plugin_write_cb callback, user_data_t *user_data); @@ -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 (); /* * NAME