X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fplugin.h;h=4ca6c771f16c8d87f050c499b4f367cf85b6b970;hb=c76c5061f8717a5045132e60804a03936dd35489;hp=72d8adb67953d944bab02d08d61901088247588f;hpb=7ff716579c6ed159366ef3dfd3132efb6f744ce0;p=collectd.git diff --git a/src/plugin.h b/src/plugin.h index 72d8adb6..4ca6c771 100644 --- 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 {