/* Copyright (c) 2002-2018 Dovecot authors, see the included COPYING file */
#include "imap-common.h"
#include "hex-binary.h"
#include "str.h"
#include "imap-quote.h"
#include "imap-status.h"
struct imap_status_items *items_r)
{
const char *item;
if (IMAP_ARG_IS_EOL(args)) {
return -1;
}
/* list may contain only atoms */
"Status list contains non-atoms.");
return -1;
}
status |= STATUS_RECENT;
status |= STATUS_UIDNEXT;
status |= STATUS_UNSEEN;
else {
return -1;
}
}
return 0;
}
const struct imap_status_items *items,
struct imap_status_result *result_r)
{
const char *errstr;
int ret = 0;
/* this mailbox is selected */
} else {
/* open the mailbox */
if (client->enabled_features != 0)
}
}
if (ret < 0) {
}
mailbox_free(&box);
return ret;
}
const struct imap_status_items *items,
const struct imap_status_result *result)
{
}
}
}
}