projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'collectd-3.11' into collectd-4.0
[collectd.git]
/
src
/
plugin.h
diff --git
a/src/plugin.h
b/src/plugin.h
index
0164e9c
..
83c2109
100644
(file)
--- a/
src/plugin.h
+++ b/
src/plugin.h
@@
-46,15
+46,6
@@
/*
* Public data types
*/
/*
* Public data types
*/
-enum modreg
-{
- MR_EVERYTHING = 7,
- MR_DATASETS = 1,
- MR_READ = 2,
- MR_WRITE = 4
-};
-typedef enum modreg modreg_e;
-
typedef unsigned long long counter_t;
typedef double gauge_t;
typedef unsigned long long counter_t;
typedef double gauge_t;
@@
-138,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
, modreg_e mr
);
+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);
@@
-187,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__)