doveadm-mail-altmove.c revision 1b7e7ff3c57f4ff0ba5f8b8a2a26e8669f0ba7fd
/* Copyright (c) 2010 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "array.h"
#include "mail-index.h"
#include "mail-storage.h"
#include "mail-namespace.h"
#include "doveadm-mail-list-iter.h"
#include "doveadm-mail-iter.h"
#include "doveadm-mail.h"
static int
struct mail_search_args *search_args)
{
struct doveadm_mail_iter *iter;
struct mailbox_transaction_context *trans;
return -1;
if (doveadm_debug) {
i_debug("altmove: box=%s uid=%u",
}
}
return doveadm_mail_iter_deinit_sync(&iter);
}
{
}
}
static void
{
const enum mailbox_list_iter_flags iter_flags =
struct doveadm_mail_list_iter *iter;
const struct mailbox_info *info;
struct mail_storage *const *storages;
unsigned int i, count;
}
}
} T_END;
/* make sure all private storages have been purged */
continue;
for (i = 0; i < count; i++) {
break;
}
if (i == count) {
}
}
}
const char *const args[])
{
doveadm_mail_help_name("altmove");
}
static struct doveadm_mail_cmd_context *cmd_altmove_alloc(void)
{
struct doveadm_mail_cmd_context *ctx;
return ctx;
}
struct doveadm_mail_cmd cmd_altmove = {
};