projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
collectd.conf(5): Fix some typos and mis-formulations.
[collectd.git]
/
src
/
plugin.h
diff --git
a/src/plugin.h
b/src/plugin.h
index
ba6cde2
..
83c2109
100644
(file)
--- a/
src/plugin.h
+++ b/
src/plugin.h
@@
-119,7
+119,8
@@
void plugin_set_dir (const char *dir);
* functions.
*
* ARGUMENTS
* functions.
*
* ARGUMENTS
- * `type' Name of the plugin to load.
+ * `name' Name of the plugin to load.
+ * `mr' Types of functions to request from the plugin.
*
* RETURN VALUE
* Returns zero upon success, a value greater than zero if no plugin was found
*
* RETURN VALUE
* Returns zero upon success, a value greater than zero if no plugin was found
@@
-128,7
+129,7
@@
void plugin_set_dir (const char *dir);
* NOTES
* No attempt is made to re-load an already loaded module.
*/
* NOTES
* No attempt is made to re-load an already loaded module.
*/
-int
plugin_load (const char *name);
+int plugin_load (const char *name);
void plugin_init_all (void);
void plugin_read_all (const int *loop);
void plugin_init_all (void);
void plugin_read_all (const int *loop);
@@
-177,7
+178,7
@@
int plugin_unregister_log (const char *name);
* `vl' Value list of the values that have been read by a `read'
* function.
*/
* `vl' Value list of the values that have been read by a `read'
* function.
*/
-int plugin_dispatch_values (const char *name,
const
value_list_t *vl);
+int plugin_dispatch_values (const char *name, value_list_t *vl);
void plugin_log (int level, const char *format, ...);
#define ERROR(...) plugin_log (LOG_ERR, __VA_ARGS__)
void plugin_log (int level, const char *format, ...);
#define ERROR(...) plugin_log (LOG_ERR, __VA_ARGS__)