Merge branch 'collectd-5.4' into collectd-5.5
[collectd.git] / src / daemon / plugin.h
index beeb576..3db88e3 100644 (file)
@@ -330,7 +330,7 @@ int plugin_unregister_notification (const char *name);
  *  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. 
+ *  the configuring person to know it. This function will fill this gap.
  */
 void plugin_log_available_writers ();
 
@@ -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 */