X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fdaemon%2Fplugin.h;h=9c1d72e107b3d1b1f2c11a06593b33eb2605d515;hb=1961988253c1f5b29a52343a34d291929e84fcf1;hp=49edba254ea13f5742864f24eb62d4048e9a1258;hpb=063a5e75b36173e89ffa18d32d47509f6ef968ec;p=collectd.git diff --git a/src/daemon/plugin.h b/src/daemon/plugin.h index 49edba25..9c1d72e1 100644 --- a/src/daemon/plugin.h +++ b/src/daemon/plugin.h @@ -110,9 +110,7 @@ struct value_list_s }; typedef struct value_list_s value_list_t; -#define VALUE_LIST_INIT { NULL, 0, 0, plugin_get_interval (), \ - "localhost", "", "", "", "", NULL } -#define VALUE_LIST_STATIC { NULL, 0, 0, 0, "localhost", "", "", "", "", NULL } +#define VALUE_LIST_INIT { .values = NULL, .meta = NULL } struct data_source_s { @@ -201,7 +199,6 @@ typedef void (*plugin_log_cb) (int severity, const char *message, typedef int (*plugin_shutdown_cb) (void); typedef int (*plugin_notification_cb) (const notification_t *, user_data_t *); - /* * NAME * plugin_set_dir