X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fplugin.h;h=107078e7ca6e75909d3ecd6559749a37575009e8;hb=fae34a369b1001291ca7e1b51f364c42946698d4;hp=8381871892f56a198d35be014b41cc22f8ab3d06;hpb=a2728d7743e5ce61cf3ce31f75c9dba2f0a7ec00;p=collectd.git diff --git a/src/plugin.h b/src/plugin.h index 83818718..107078e7 100644 --- a/src/plugin.h +++ b/src/plugin.h @@ -52,6 +52,8 @@ struct value_list_s }; 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]; @@ -75,6 +77,8 @@ typedef struct complain_s 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