/* Copyright (c) 2010-2018 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "mail-storage.h"
#include "doveadm-print.h"
#include "doveadm-mailbox-list-iter.h"
#include "doveadm-mail-iter.h"
#include "doveadm-mail.h"
#include <stdio.h>
static int
const struct mailbox_info *info)
{
const char *guid_str;
int ret = 0;
&iter) < 0)
return -1;
i_error("Couldn't get mailbox '%s' GUID: %s",
ret = -1;
} else {
T_BEGIN {
} T_END;
}
}
if (doveadm_mail_iter_deinit(&iter) < 0)
ret = -1;
return ret;
}
static int
{
int ret = 0;
ret = -1;
} T_END;
if (doveadm_mailbox_list_iter_deinit(&iter) < 0)
ret = -1;
return ret;
}
const char *const args[])
{
doveadm_mail_help_name("search");
}
{
return ctx;
}
.name = "search",
};