/* Copyright (c) 2010-2018 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "mail-search-parser-private.h"
struct cmdline_mail_search_parser {
const char *const *args;
unsigned int list_level;
};
const char **key_r)
{
(struct cmdline_mail_search_parser *)_parser;
if (parser->list_level != 0) {
return -1;
}
return 0;
}
parser->list_level++;
return 1;
if (parser->list_level == 0) {
return -1;
}
parser->list_level--;
return 0;
} else {
return 1;
}
}
const char **value_r)
{
(struct cmdline_mail_search_parser *)_parser;
return -1;
}
return 1;
}
static bool
const char *str)
{
(struct cmdline_mail_search_parser *)_parser;
return FALSE;
return FALSE;
return TRUE;
}
};
struct mail_search_parser *
{
}