/* Copyright (c) 2016-2018 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "str.h"
#include "charset-utf8.h"
#include "mail-storage-private.h"
#include "mail-search-parser.h"
#include "mail-search-mime-register.h"
#include "mail-search-mime-build.h"
struct mail_search_mime_arg **arg_r);
struct mail_search_mime_arg *
{
return arg;
}
struct mail_search_mime_arg *
{
const char *value;
return NULL;
return sarg;
}
static int
struct mail_search_mime_arg *parent,
struct mail_search_mime_arg **arg_r)
{
const char *key;
int ret;
return ret;
return -1;
return -1;
}
return 1;
}
else {
}
}
struct mail_search_mime_arg *parent,
struct mail_search_mime_arg **arg_r)
{
int ret;
if (ret <= 0) {
if (ret == 0)
return -1;
}
return 0;
}
struct mail_search_mime_arg **arg_r)
{
int ret;
/* expected type */
} else if (cur_type == SEARCH_MIME_SUB) {
/* type changed. everything in this list must now
belong to this type. */
} else {
"Use parenthesis when mixing ANDs and ORs";
return -1;
}
}
if (ret < 0)
return -1;
return 0;
}
struct mail_search_mime_part **mpart_r)
{
int ret;
return ret;
/* simple SUB root */
} else {
}
return 0;
}
struct mail_search_mime_arg *
struct mail_search_mime_part *mpart,
{
return arg;
}