/* Copyright (c) 2002-2018 Dovecot authors, see the included COPYING file */
#include "imap-common.h"
#include "array.h"
#include "buffer.h"
#include "ioloop.h"
#include "istream.h"
#include "ostream.h"
#include "time-util.h"
#include "imap-commands.h"
struct command_hook {
};
{ "CAPABILITY", cmd_capability, 0 },
/* finish syncing and sending
all tagged commands before
we wait for APPEND input */
{ "CREATE", cmd_create, 0 },
{ "LIST", cmd_list, 0 },
{ "LSUB", cmd_lsub, 0 },
{ "STATUS", cmd_status, 0 },
{ "SUBSCRIBE", cmd_subscribe, 0 },
};
/* IMAP extensions: */
{ "CANCELUPDATE", cmd_cancelupdate,0 },
{ "ENABLE", cmd_enable, 0 },
{ "ID", cmd_id, 0 },
/* finish syncing and sending
all tagged commands before
IDLE is started */
{ "GETMETADATA", cmd_getmetadata, 0 },
{ "SETMETADATA", cmd_setmetadata, 0 },
{ "NAMESPACE", cmd_namespace, 0 },
{ "X-CANCEL", cmd_x_cancel, 0 },
{ "XLIST", cmd_list, 0 },
/* IMAP URLAUTH (RFC4467): */
{ "GENURLAUTH", cmd_genurlauth, 0 },
{ "RESETKEY", cmd_resetkey, 0 },
{ "URLFETCH", cmd_urlfetch, 0 }
};
static bool commands_unsorted;
enum command_flags flags)
{
}
{
unsigned int i, count;
for (i = 0; i < count; i++) {
return;
}
}
}
{
}
{
while (count > 0) {
}
}
{
}
{
unsigned int i, count;
for (i = 0; i < count; i++) {
return;
}
}
i_panic("command_hook_unregister(): hook not registered");
}
{
}
{
/* allow flushing multiple times */
}
{
bool finished;
return finished;
}
{
}
{
}
{
if (commands_unsorted) {
}
}
void commands_init(void)
{
}
void commands_deinit(void)
{
}