src/{collectd,plugin}.[ch]: Changed license to GPLv2 only.
[collectd.git] / src / plugin.h
index 93bf029..a2df069 100644 (file)
@@ -7,8 +7,7 @@
  *
  * 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
@@ -45,6 +44,7 @@ struct value_list_s
 {
        value_t *values;
        int      values_len;
+       char     host[DATA_MAX_NAME_LEN];
        char     plugin[DATA_MAX_NAME_LEN];
        char     plugin_instance[DATA_MAX_NAME_LEN];
        char     type_instance[DATA_MAX_NAME_LEN];
@@ -65,7 +65,6 @@ struct data_set_s
        char           type[DATA_MAX_NAME_LEN];
        int            ds_num;
        data_source_t *ds;
-       char          *filename;
 };
 typedef struct data_set_s data_set_t;