From: Florian Forster Date: Wed, 6 Jun 2007 12:29:10 +0000 (+0200) Subject: src/plugin.h: Include the `interval' in the value lists. X-Git-Tag: collectd-4.1.0~64 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=fae7c4bf899b1bb3beada58dd1074daaef66bbee;p=collectd.git src/plugin.h: Include the `interval' in the value lists. --- 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 {