.key = "abc",
.value_type = EVENT_FIELD_VALUE_TYPE_INTMAX,
.value.intmax = 42,
+ .value.str = NULL,
+ .value.timeval = {0},
};
static struct event_field exp_2int[2] = {
{
.key = "abc",
.value_type = EVENT_FIELD_VALUE_TYPE_INTMAX,
.value.intmax = 42,
+ .value.str = NULL,
+ .value.timeval = {0},
},
{
.key = "def",
.value_type = EVENT_FIELD_VALUE_TYPE_INTMAX,
.value.intmax = 49,
+ .value.str = NULL,
+ .value.timeval = {0},
},
};
static struct event_field exp_1str1int[2] = {
.key = "abc",
.value_type = EVENT_FIELD_VALUE_TYPE_STR,
.value.str = "foo",
+ .value.intmax = 0,
+ .value.timeval = {0},
},
{
.key = "def",
.value_type = EVENT_FIELD_VALUE_TYPE_INTMAX,
.value.intmax = 49,
+ .value.str = NULL,
+ .value.timeval = {0},
},
};
struct event *parent;
.key = "abc",
.value_type = EVENT_FIELD_VALUE_TYPE_INTMAX,
.value.intmax = 42,
+ .value.str = NULL,
+ .value.timeval = {0},
};
static struct event_field exp_str = {
.key = "abc",
.value_type = EVENT_FIELD_VALUE_TYPE_STR,
.value.str = "def",
+ .value.intmax = 0,
+ .value.timeval = {0},
};
static struct event_field exp_2str[2] = {
{
.key = "abc",
.value_type = EVENT_FIELD_VALUE_TYPE_STR,
.value.str = "def",
+ .value.intmax = 0,
+ .value.timeval = {0},
},
{
.key = "foo",
.value_type = EVENT_FIELD_VALUE_TYPE_STR,
.value.str = "bar",
+ .value.intmax = 0,
+ .value.timeval = {0},
},
};
struct event *parent;