diff --git a/src/plugin.h b/src/plugin.h
index 611fa572507db6a4222095c62f04b00ab17569cd..107078e7ca6e75909d3ecd6559749a37575009e8 100644 (file)
--- a/src/plugin.h
+++ b/src/plugin.h
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
- * Free Software Foundation; either version 2 of the License, or (at your
- * option) any later version.
+ * Free Software Foundation; only version 2 of the License is applicable.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
{
value_t *values;
int values_len;
+ time_t time;
char host[DATA_MAX_NAME_LEN];
char plugin[DATA_MAX_NAME_LEN];
char plugin_instance[DATA_MAX_NAME_LEN];
};
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];
char type[DATA_MAX_NAME_LEN];
int ds_num;
data_source_t *ds;
- char *filename;
};
typedef struct data_set_s data_set_t;
unsigned int delay; /* how many more iterations we still need to wait */
} complain_t;
+extern char hostname[DATA_MAX_NAME_LEN];
+
/*
* NAME
* plugin_set_dir