struct PatternHead expected;
SLIST_INIT(&expected);
struct Pattern e = { .op = MUTT_PAT_SUBJECT,
- .not = 0,
- .alladdr = 0,
- .stringmatch = 1,
- .groupmatch = 0,
- .ign_case = 1,
- .isalias = 0,
- .ismulti = 0,
+ .not = false,
+ .alladdr = false,
+ .stringmatch = true,
+ .groupmatch = false,
+ .ign_case = true,
+ .isalias = false,
+ .ismulti = false,
.min = 0,
.max = 0,
.p.str = "foobar" };
struct PatternHead expected;
SLIST_INIT(&expected);
struct Pattern e = { .op = MUTT_PAT_SUBJECT,
- .not = 1,
- .alladdr = 0,
- .stringmatch = 1,
- .groupmatch = 0,
- .ign_case = 1,
- .isalias = 0,
- .ismulti = 0,
+ .not = true,
+ .alladdr = false,
+ .stringmatch = true,
+ .groupmatch = false,
+ .ign_case = true,
+ .isalias = false,
+ .ismulti = false,
.min = 0,
.max = 0,
.p.str = "foobar" };
struct Pattern e[3] = { /* root */
{ .op = MUTT_PAT_AND,
- .not = 0,
- .alladdr = 0,
- .stringmatch = 0,
- .groupmatch = 0,
- .ign_case = 0,
- .isalias = 0,
- .ismulti = 0,
+ .not = false,
+ .alladdr = false,
+ .stringmatch = false,
+ .groupmatch = false,
+ .ign_case = false,
+ .isalias = false,
+ .ismulti = false,
.min = 0,
.max = 0,
.p.str = NULL },
/* root->child */
{ .op = MUTT_PAT_SUBJECT,
- .not = 0,
- .alladdr = 0,
- .stringmatch = 1,
- .groupmatch = 0,
- .ign_case = 1,
- .isalias = 0,
- .ismulti = 0,
+ .not = false,
+ .alladdr = false,
+ .stringmatch = true,
+ .groupmatch = false,
+ .ign_case = true,
+ .isalias = false,
+ .ismulti = false,
.min = 0,
.max = 0,
.p.str = "foo" },
/* root->child->next */
{ .op = MUTT_PAT_SUBJECT,
- .not = 0,
- .alladdr = 0,
- .stringmatch = 1,
- .groupmatch = 0,
- .ign_case = 1,
- .isalias = 0,
- .ismulti = 0,
+ .not = false,
+ .alladdr = false,
+ .stringmatch = true,
+ .groupmatch = false,
+ .ign_case = true,
+ .isalias = false,
+ .ismulti = false,
.min = 0,
.max = 0,
.p.str = "bar" }
struct Pattern e[3] = { /* root */
{ .op = MUTT_PAT_AND,
- .not = 0,
- .alladdr = 0,
- .stringmatch = 0,
- .groupmatch = 0,
- .ign_case = 0,
- .isalias = 0,
- .ismulti = 0,
+ .not = false,
+ .alladdr = false,
+ .stringmatch = false,
+ .groupmatch = false,
+ .ign_case = false,
+ .isalias = false,
+ .ismulti = false,
.min = 0,
.max = 0,
.p.str = NULL },
/* root->child */
{ .op = MUTT_PAT_SUBJECT,
- .not = 0,
- .alladdr = 0,
- .stringmatch = 1,
- .groupmatch = 0,
- .ign_case = 1,
- .isalias = 0,
- .ismulti = 0,
+ .not = false,
+ .alladdr = false,
+ .stringmatch = true,
+ .groupmatch = false,
+ .ign_case = true,
+ .isalias = false,
+ .ismulti = false,
.min = 0,
.max = 0,
.p.str = "foo" },
/* root->child->next */
{ .op = MUTT_PAT_SUBJECT,
- .not = 0,
- .alladdr = 0,
- .stringmatch = 1,
- .groupmatch = 0,
- .ign_case = 1,
- .isalias = 0,
- .ismulti = 0,
+ .not = false,
+ .alladdr = false,
+ .stringmatch = true,
+ .groupmatch = false,
+ .ign_case = true,
+ .isalias = false,
+ .ismulti = false,
.min = 0,
.max = 0,
.p.str = "bar" }
struct Pattern e[3] = { /* root */
{ .op = MUTT_PAT_AND,
- .not = 1,
- .alladdr = 0,
- .stringmatch = 0,
- .groupmatch = 0,
- .ign_case = 0,
- .isalias = 0,
- .ismulti = 0,
+ .not = true,
+ .alladdr = false,
+ .stringmatch = false,
+ .groupmatch = false,
+ .ign_case = false,
+ .isalias = false,
+ .ismulti = false,
.min = 0,
.max = 0,
.p.str = NULL },
/* root->child */
{ .op = MUTT_PAT_SUBJECT,
- .not = 0,
- .alladdr = 0,
- .stringmatch = 1,
- .groupmatch = 0,
- .ign_case = 1,
- .isalias = 0,
- .ismulti = 0,
+ .not = false,
+ .alladdr = false,
+ .stringmatch = true,
+ .groupmatch = false,
+ .ign_case = true,
+ .isalias = false,
+ .ismulti = false,
.min = 0,
.max = 0,
.p.str = "foo" },
/* root->child->next */
{ .op = MUTT_PAT_SUBJECT,
- .not = 0,
- .alladdr = 0,
- .stringmatch = 1,
- .groupmatch = 0,
- .ign_case = 1,
- .isalias = 0,
- .ismulti = 0,
+ .not = false,
+ .alladdr = false,
+ .stringmatch = true,
+ .groupmatch = false,
+ .ign_case = true,
+ .isalias = false,
+ .ismulti = false,
.min = 0,
.max = 0,
.p.str = "bar" }
struct Pattern e[4] = { /* root */
{ .op = MUTT_PAT_AND,
- .not = 0,
- .alladdr = 0,
- .stringmatch = 0,
- .groupmatch = 0,
- .ign_case = 0,
- .isalias = 0,
- .ismulti = 0,
+ .not = false,
+ .alladdr = false,
+ .stringmatch = false,
+ .groupmatch = false,
+ .ign_case = false,
+ .isalias = false,
+ .ismulti = false,
.min = 0,
.max = 0,
.p.str = NULL },
/* root->child */
{ .op = MUTT_PAT_SUBJECT,
- .not = 0,
- .alladdr = 0,
- .stringmatch = 1,
- .groupmatch = 0,
- .ign_case = 1,
- .isalias = 0,
- .ismulti = 0,
+ .not = false,
+ .alladdr = false,
+ .stringmatch = true,
+ .groupmatch = false,
+ .ign_case = true,
+ .isalias = false,
+ .ismulti = false,
.min = 0,
.max = 0,
.p.str = "foo" },
/* root->child->next */
{ .op = MUTT_PAT_SUBJECT,
- .not = 0,
- .alladdr = 0,
- .stringmatch = 1,
- .groupmatch = 0,
- .ign_case = 1,
- .isalias = 0,
- .ismulti = 0,
+ .not = false,
+ .alladdr = false,
+ .stringmatch = true,
+ .groupmatch = false,
+ .ign_case = true,
+ .isalias = false,
+ .ismulti = false,
.min = 0,
.max = 0,
.p.str = "bar" },
/* root->child->next->next */
{ .op = MUTT_PAT_SUBJECT,
- .not = 0,
- .alladdr = 0,
- .stringmatch = 1,
- .groupmatch = 0,
- .ign_case = 1,
- .isalias = 0,
- .ismulti = 0,
+ .not = false,
+ .alladdr = false,
+ .stringmatch = true,
+ .groupmatch = false,
+ .ign_case = true,
+ .isalias = false,
+ .ismulti = false,
.min = 0,
.max = 0,
.p.str = "quux" }
struct Pattern e[5] = { /* root */
{ .op = MUTT_PAT_AND,
- .not = 0,
- .alladdr = 0,
- .stringmatch = 0,
- .groupmatch = 0,
- .ign_case = 0,
- .isalias = 0,
- .ismulti = 0,
+ .not = false,
+ .alladdr = false,
+ .stringmatch = false,
+ .groupmatch = false,
+ .ign_case = false,
+ .isalias = false,
+ .ismulti = false,
.min = 0,
.max = 0,
.p.str = NULL },
/* root->child */
{ .op = MUTT_PAT_OR,
- .not = 1,
- .alladdr = 0,
- .stringmatch = 0,
- .groupmatch = 0,
- .ign_case = 0,
- .isalias = 0,
- .ismulti = 0,
+ .not = true,
+ .alladdr = false,
+ .stringmatch = false,
+ .groupmatch = false,
+ .ign_case = false,
+ .isalias = false,
+ .ismulti = false,
.min = 0,
.max = 0,
.p.str = NULL },
/* root->child->child */
{ .op = MUTT_PAT_SUBJECT,
- .not = 0,
- .alladdr = 0,
- .stringmatch = 1,
- .groupmatch = 0,
- .ign_case = 1,
- .isalias = 0,
- .ismulti = 0,
+ .not = false,
+ .alladdr = false,
+ .stringmatch = true,
+ .groupmatch = false,
+ .ign_case = true,
+ .isalias = false,
+ .ismulti = false,
.min = 0,
.max = 0,
.p.str = "foo" },
/* root->child->child->next */
{ .op = MUTT_PAT_SUBJECT,
- .not = 0,
- .alladdr = 0,
- .stringmatch = 1,
- .groupmatch = 0,
- .ign_case = 1,
- .isalias = 0,
- .ismulti = 0,
+ .not = false,
+ .alladdr = false,
+ .stringmatch = true,
+ .groupmatch = false,
+ .ign_case = true,
+ .isalias = false,
+ .ismulti = false,
.min = 0,
.max = 0,
.p.str = "bar" },
/* root->child->next */
{ .op = MUTT_PAT_SUBJECT,
- .not = 0,
- .alladdr = 0,
- .stringmatch = 1,
- .groupmatch = 0,
- .ign_case = 1,
- .isalias = 0,
- .ismulti = 0,
+ .not = false,
+ .alladdr = false,
+ .stringmatch = true,
+ .groupmatch = false,
+ .ign_case = true,
+ .isalias = false,
+ .ismulti = false,
.min = 0,
.max = 0,
.p.str = "quux" }