0029bf606761c2adb611571c00cad699ae37c36aStephan Bosch/* Copyright (c) 2015-2018 Dovecot authors, see the included COPYING file */
2b7d6fbaadd62e66c858bae0358232c02369b43bStephan Bosch unsigned int n;
b73539ef2de3db3abc0ad5f729406e695e4cb76bStephan Boschstatic MODULE_CONTEXT_DEFINE_INIT(imapc_storage_module,
case SEARCH_OR:
case SEARCH_SUB:
return FALSE;
case SEARCH_ALL:
case SEARCH_SEQSET:
case SEARCH_UIDSET:
case SEARCH_FLAGS:
case SEARCH_KEYWORDS:
case SEARCH_MODSEQ:
case SEARCH_MAILBOX:
case SEARCH_MAILBOX_GUID:
case SEARCH_MAILBOX_GLOB:
case SEARCH_REAL_UID:
return FALSE;
return TRUE;
case SEARCH_OR:
return TRUE;
case SEARCH_SUB:
return TRUE;
case SEARCH_SEQSET:
T_BEGIN {
&uids);
} T_END;
return TRUE;
case SEARCH_BEFORE:
case SEARCH_SINCE:
return FALSE;
return FALSE;
return TRUE;
case SEARCH_ALL:
case SEARCH_UIDSET:
case SEARCH_FLAGS:
case SEARCH_KEYWORDS:
case SEARCH_ON:
case SEARCH_SMALLER:
case SEARCH_LARGER:
case SEARCH_HEADER:
case SEARCH_HEADER_ADDRESS:
case SEARCH_BODY:
case SEARCH_TEXT:
case SEARCH_MODSEQ:
return FALSE;
case SEARCH_INTHREAD:
case SEARCH_GUID:
case SEARCH_MAILBOX:
case SEARCH_MAILBOX_GUID:
case SEARCH_MAILBOX_GLOB:
case SEARCH_REAL_UID:
case SEARCH_MIMEPART:
return FALSE;
return FALSE;
return TRUE;
const char **query_r)
return FALSE;
return FALSE;
return FALSE;
return TRUE;
void *context)
struct mail_search_context *
return ctx;
return ctx;
return FALSE;
return TRUE;