doveadm-mail-search.c revision 1a4e1495d193de4d76b63bfc94290c42901ca55b
/* Copyright (c) 2010 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "mail-storage.h"
#include "doveadm-mail-list-iter.h"
#include "doveadm-mail-iter.h"
#include "doveadm-mail.h"
#include <stdio.h>
struct search_cmd_context {
struct doveadm_mail_cmd_context ctx;
struct mail_search_args *search_args;
};
static int
struct mail_search_args *search_args)
{
struct doveadm_mail_iter *iter;
struct mailbox_transaction_context *trans;
const char *guid_str;
int ret = 0;
return -1;
ret = -1;
else {
}
if (doveadm_mail_iter_deinit(&iter) < 0)
ret = -1;
return ret;
}
static void
{
const enum mailbox_list_iter_flags iter_flags =
struct doveadm_mail_list_iter *iter;
const struct mailbox_info *info;
} T_END;
}
{
struct search_cmd_context *ctx;
doveadm_mail_help_name("search");
}