projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e71b071
)
src/plugin.h: Include the `interval' in the value lists.
author
Florian Forster
<octo@huhu.verplant.org>
Wed, 6 Jun 2007 12:29:10 +0000
(14:29 +0200)
committer
Florian Forster
<octo@huhu.verplant.org>
Wed, 6 Jun 2007 12:29:10 +0000
(14:29 +0200)
src/plugin.h
patch
|
blob
|
history
diff --git
a/src/plugin.h
b/src/plugin.h
index
72d8adb
..
4ca6c77
100644
(file)
--- a/
src/plugin.h
+++ b/
src/plugin.h
@@
-63,6
+63,7
@@
struct value_list_s
value_t *values;
int values_len;
time_t time;
+ int interval;
char host[DATA_MAX_NAME_LEN];
char plugin[DATA_MAX_NAME_LEN];
char plugin_instance[DATA_MAX_NAME_LEN];
@@
-70,7
+71,8
@@
struct value_list_s
};
typedef struct value_list_s value_list_t;
-#define VALUE_LIST_INIT { NULL, 0, 0, "localhost", "", "", "" }
+#define VALUE_LIST_INIT { NULL, 0, 0, interval_g, "localhost", "", "", "" }
+#define VALUE_LIST_STATIC { NULL, 0, 0, 0, "localhost", "", "", "" }
struct data_source_s
{