imap-commands.c revision 08d6658a4e2ec8104cd1307f6baa75fdb07a24f8
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
#include "imap-common.h"
#include "array.h"
#include "buffer.h"
#include "imap-commands.h"
#include <stdlib.h>
static const struct command imap4rev1_commands[] = {
{ "CAPABILITY", cmd_capability, 0 },
{ "CREATE", cmd_create, 0 },
{ "DELETE", cmd_delete, 0 },
{ "RENAME", cmd_rename, 0 },
{ "LIST", cmd_list, 0 },
{ "LSUB", cmd_lsub, 0 },
{ "STATUS", cmd_status, 0 },
{ "SUBSCRIBE", cmd_subscribe, 0 },
{ "UNSUBSCRIBE", cmd_unsubscribe, 0 },
{ "UID", cmd_uid, 0 },
};
static const struct command imap_ext_commands[] = {
{ "CANCELUPDATE", cmd_cancelupdate,0 },
{ "ENABLE", cmd_enable, 0 },
{ "ID", cmd_id, 0 },
{ "NAMESPACE", cmd_namespace, 0 },
{ "X-CANCEL", cmd_x_cancel, 0 }
};
static bool commands_unsorted;
enum command_flags flags)
{
}
void command_unregister(const char *name)
{
unsigned int i, count;
for (i = 0; i < count; i++) {
return;
}
}
}
{
}
{
while (count > 0) {
}
}
{
}
{
}
{
void *base;
unsigned int count;
if (commands_unsorted) {
}
}
void commands_init(void)
{
}
void commands_deinit(void)
{
}