imap-login-client.c revision c4ec7cb598805b1387dc3aab59ec8f32d8cc24e1
c25356d5978632df6203437e1953bcb29e0c736fTimo Sirainen/* Copyright (c) 2002-2017 Dovecot authors, see the included COPYING file */
static const char *const imap_login_reserved_id_keys[] = {
const unsigned char *data;
for (i = 0; i < data_size; i++) {
return TRUE;
return FALSE;
const char *msg;
switch (parse_error) {
case IMAP_PARSE_ERROR_NONE:
i_unreached();
return FALSE;
return TRUE;
return TRUE;
return FALSE;
return TRUE;
return TRUE;
return FALSE;
if (!explicit_capability) {
if (success)
return FALSE;
return FALSE;
return TRUE;
bool client_id_str;
if (client_id_str &&
case IMAP_CLIENT_ID_STATE_KEY:
int ret;
if (ret > 0) {
ret = 0;
if (ret == 0) {
switch (*tag) {
return FALSE;
return FALSE;
return TRUE;
i_unreached();
bool parsed;
int ret;
return FALSE;
return FALSE;
if (ret == 0)
return FALSE;
if (ret < 0)
if (ret < 0)
return TRUE;
if (ret == 0)
return FALSE;
} else if (ret < 0) {
return FALSE;
T_BEGIN {
if (tagged)
} T_END;
switch (reply) {
case IMAP_CMD_REPLY_OK:
case IMAP_CMD_REPLY_NO:
case IMAP_CMD_REPLY_BAD:
case IMAP_CMD_REPLY_BYE:
const char *text)
if (bad)
const char *text)
static void imap_login_preinit(void)
static void imap_login_init(void)
static void imap_login_deinit(void)
NULL,
NULL,