bcb4e51a409d94ae670de96afb8483a4f7855294Stephan Bosch#ifndef IMAP_RESP_CODE_H
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen#define IMAP_RESP_CODE_H
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen
9f0f2de10e4ea0c99052bf4b2bef8179f2536228Timo Sirainen/* IMAP response codes (RFC 5530) */
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen#define IMAP_RESP_CODE_UNAVAILABLE "UNAVAILABLE"
9f0f2de10e4ea0c99052bf4b2bef8179f2536228Timo Sirainen#define IMAP_RESP_CODE_AUTHFAILED "AUTHENTICATIONFAILED"
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen#define IMAP_RESP_CODE_AUTHZFAILED "AUTHORIZATIONFAILED"
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen#define IMAP_RESP_CODE_EXPIRED "EXPIRED"
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen#define IMAP_RESP_CODE_PRIVACYREQUIRED "PRIVACYREQUIRED"
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen#define IMAP_RESP_CODE_CONTACTADMIN "CONTACTADMIN"
b215a8a123623782554a83f3025ef4e771bd8f01Timo Sirainen#define IMAP_RESP_CODE_NOPERM "NOPERM"
b215a8a123623782554a83f3025ef4e771bd8f01Timo Sirainen#define IMAP_RESP_CODE_INUSE "INUSE"
a8284e999d091cd29210fa75ecdc8076376a7345Timo Sirainen#define IMAP_RESP_CODE_EXPUNGEISSUED "EXPUNGEISSUED"
a8284e999d091cd29210fa75ecdc8076376a7345Timo Sirainen#define IMAP_RESP_CODE_CORRUPTION "CORRUPTION"
a8284e999d091cd29210fa75ecdc8076376a7345Timo Sirainen#define IMAP_RESP_CODE_SERVERBUG "SERVERBUG"
9f0f2de10e4ea0c99052bf4b2bef8179f2536228Timo Sirainen#define IMAP_RESP_CODE_CLIENTBUG "CLIENTBUG"
9f0f2de10e4ea0c99052bf4b2bef8179f2536228Timo Sirainen#define IMAP_RESP_CODE_CANNOT "CANNOT"
9f0f2de10e4ea0c99052bf4b2bef8179f2536228Timo Sirainen#define IMAP_RESP_CODE_LIMIT "LIMIT"
9f0f2de10e4ea0c99052bf4b2bef8179f2536228Timo Sirainen#define IMAP_RESP_CODE_OVERQUOTA "OVERQUOTA"
9f0f2de10e4ea0c99052bf4b2bef8179f2536228Timo Sirainen#define IMAP_RESP_CODE_ALREADYEXISTS "ALREADYEXISTS"
9f0f2de10e4ea0c99052bf4b2bef8179f2536228Timo Sirainen#define IMAP_RESP_CODE_NONEXISTENT "NONEXISTENT"
9f0f2de10e4ea0c99052bf4b2bef8179f2536228Timo Sirainen
9f0f2de10e4ea0c99052bf4b2bef8179f2536228Timo Sirainen#define IMAP_RESP_CODE_UNKNOWN_CTE "UNKNOWN-CTE" /* BINARY */
da7f1a07f583df8905684a7b78469960afd7c78dPhil Carmody
9f0f2de10e4ea0c99052bf4b2bef8179f2536228Timo Sirainen/* IMAP standard (RFC 3501) */
9f0f2de10e4ea0c99052bf4b2bef8179f2536228Timo Sirainen#define IMAP_RESP_CODE_PARSE "PARSE"
9f0f2de10e4ea0c99052bf4b2bef8179f2536228Timo Sirainen
9f0f2de10e4ea0c99052bf4b2bef8179f2536228Timo Sirainen#endif
7bafda1813454621e03615e83d55bccfa7cc56bdTimo Sirainen