static void load_submit (double snum, double mnum, double lnum)
{
value_t values[3];
- value_list_t vl;
+ value_list_t vl = VALUE_LIST_INIT;
values[0].gauge = snum;
values[1].gauge = mnum;
part_header_t *header;
int status;
- value_list_t vl;
+ value_list_t vl = VALUE_LIST_INIT;
char type[DATA_MAX_NAME_LEN];
DBG ("buffer = %p; buffer_len = %i;", buffer, buffer_len);
unsigned long long *val, const char **names, int len)
{
value_t values[1];
- value_list_t vl;
+ value_list_t vl = VALUE_LIST_INIT;
int i;
vl.values = values;
};
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];
unsigned long long tx)
{
value_t values[2];
- value_list_t vl;
+ value_list_t vl = VALUE_LIST_INIT;
if (check_ignore_if (dev))
return;