From fae7c4bf899b1bb3beada58dd1074daaef66bbee Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Wed, 6 Jun 2007 14:29:10 +0200 Subject: [PATCH] src/plugin.h: Include the `interval' in the value lists. --- src/plugin.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 { -- 2.30.2