projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
src/plugin.h: Added `VALUE_LIST_INIT', a static initializer for value_list_t.
[collectd.git]
/
src
/
plugin.h
diff --git
a/src/plugin.h
b/src/plugin.h
index
8381871
..
3b94ff7
100644
(file)
--- a/
src/plugin.h
+++ b/
src/plugin.h
@@
-52,6
+52,8
@@
struct value_list_s
};
typedef struct value_list_s value_list_t;
+#define VALUE_LIST_INIT { NULL, 0, 0, "localhost", "", "", "" }
+
struct data_source_s
{
char name[DATA_MAX_NAME_LEN];