projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbcd407
)
Add prototype for module_register
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Mon, 29 Feb 2016 22:20:00 +0000
(23:20 +0100)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Mon, 29 Feb 2016 22:20:00 +0000
(23:20 +0100)
src/plugin.h
patch
|
blob
|
history
diff --git
a/src/plugin.h
b/src/plugin.h
index
8f0c6d8
..
d54db4b
100644
(file)
--- a/
src/plugin.h
+++ b/
src/plugin.h
@@
-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 */