src/plugin.h: Added `VALUE_LIST_INIT', a static initializer for value_list_t.
[collectd.git] / src / plugin.h
index 8381871..3b94ff7 100644 (file)
@@ -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];