X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fdaemon%2Fplugin.h;h=a63f5cdc6e5e189e0461cf982f117e6d48b55a0f;hb=43ef00c0eb99991902d3c9a5fbe582cde049b055;hp=b1adb527bb46536334af708275e1cbd0232a4f1d;hpb=00f9279d9711c9882b65d54fd72c2f25a3f403fc;p=collectd.git diff --git a/src/daemon/plugin.h b/src/daemon/plugin.h index b1adb527..a63f5cdc 100644 --- a/src/daemon/plugin.h +++ b/src/daemon/plugin.h @@ -334,7 +334,7 @@ int plugin_unregister_notification (const char *name); * 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 plugin_log_available_writers (void); /* * NAME @@ -459,4 +459,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 */