Add prototype for module_register
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Mon, 29 Feb 2016 22:20:00 +0000 (23:20 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Mon, 29 Feb 2016 22:20:00 +0000 (23:20 +0100)
src/plugin.h

index 8f0c6d8..d54db4b 100644 (file)
@@ -399,4 +399,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 */