doveadm-mutf7.c revision 880ac25be5546f3cb31d6f89ab094bb3a1bad4e5
/* Copyright (c) 2009-2012 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "str.h"
#include "imap-utf7.h"
#include "doveadm.h"
#include <stdio.h>
#include <unistd.h>
{
bool from_utf8;
unsigned int i;
int c;
switch (c) {
case '7':
break;
case '8':
break;
default:
}
}
str_truncate(str, 0);
if (from_utf8) {
i_error("Mailbox name not valid UTF-8: %s",
argv[i]);
}
} else {
i_error("Mailbox name not valid mUTF-7: %s",
argv[i]);
}
}
}
}
struct doveadm_cmd doveadm_cmd_mailbox_mutf7 = {
cmd_mailbox_mutf7, "mailbox mutf7",
"[-7|-8] <name> [...]"
};