X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fdaemon%2Fplugin.h;h=cba298cfc4355a3783ac918b9589c8bb94ee6f52;hb=65c20e41cfad6e7ab024983f561835fd347124ce;hp=70a22326e09f7b3f492877711e6b5152e5e369c8;hpb=c4da209d3b3ef23d03617c15abc3c8365c0ffd2b;p=collectd.git diff --git a/src/daemon/plugin.h b/src/daemon/plugin.h index 70a22326..cba298cf 100644 --- a/src/daemon/plugin.h +++ b/src/daemon/plugin.h @@ -332,7 +332,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 @@ -457,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 */