doveadm-mail-batch.c revision c9c7624c38e96f431cfe4c8270820e9ecd19f04d
/* Copyright (c) 2012-2014 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "array.h"
#include "doveadm-mail.h"
#include <unistd.h>
struct batch_cmd_context {
struct doveadm_mail_cmd_context ctx;
};
struct mail_storage_service_user *service_user,
const char **error_r)
{
struct doveadm_mail_cmd_context *const *cmdp;
int ret = 0;
ret = -1;
break;
}
}
return ret;
}
{
struct doveadm_mail_cmd_context *const *cmdp;
int ret = 0;
ret = -1;
break;
}
}
return ret;
}
static void
{
struct doveadm_mail_cmd_context *subctx;
const struct doveadm_mail_cmd *cmd;
const char *getopt_args;
int c;
argv[1]);
}
optind = 1;
}
}
}
static void
{
unsigned int i, start;
int argc;
const char *const *argv;
doveadm_mail_help_name("batch");
args++;
for (i = start = 0;; i++) {
continue;
}
if (i > start) {
(void)array_append_space(&sep_args);
start = i+1;
}
break;
}
(void)array_append_space(&sep_args);
}
static void
const char *const args[] ATTR_UNUSED)
{
struct doveadm_mail_cmd_context *const *cmdp;
struct batch_cmd_context *subctx;
}
}
{
struct doveadm_mail_cmd_context *const *cmdp;
}
}
static struct doveadm_mail_cmd_context *cmd_batch_alloc(void)
{
struct batch_cmd_context *ctx;
}
struct doveadm_mail_cmd cmd_batch = {
};