diff options
Diffstat (limited to 'src/lib-imap/imap-resp-code.h')
-rw-r--r-- | src/lib-imap/imap-resp-code.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/lib-imap/imap-resp-code.h b/src/lib-imap/imap-resp-code.h new file mode 100644 index 0000000..a7a4de8 --- /dev/null +++ b/src/lib-imap/imap-resp-code.h @@ -0,0 +1,28 @@ +#ifndef IMAP_RESP_CODE_H +#define IMAP_RESP_CODE_H + +/* IMAP response codes (RFC 5530) */ +#define IMAP_RESP_CODE_UNAVAILABLE "UNAVAILABLE" +#define IMAP_RESP_CODE_AUTHFAILED "AUTHENTICATIONFAILED" +#define IMAP_RESP_CODE_AUTHZFAILED "AUTHORIZATIONFAILED" +#define IMAP_RESP_CODE_EXPIRED "EXPIRED" +#define IMAP_RESP_CODE_PRIVACYREQUIRED "PRIVACYREQUIRED" +#define IMAP_RESP_CODE_CONTACTADMIN "CONTACTADMIN" +#define IMAP_RESP_CODE_NOPERM "NOPERM" +#define IMAP_RESP_CODE_INUSE "INUSE" +#define IMAP_RESP_CODE_EXPUNGEISSUED "EXPUNGEISSUED" +#define IMAP_RESP_CODE_CORRUPTION "CORRUPTION" +#define IMAP_RESP_CODE_SERVERBUG "SERVERBUG" +#define IMAP_RESP_CODE_CLIENTBUG "CLIENTBUG" +#define IMAP_RESP_CODE_CANNOT "CANNOT" +#define IMAP_RESP_CODE_LIMIT "LIMIT" +#define IMAP_RESP_CODE_OVERQUOTA "OVERQUOTA" +#define IMAP_RESP_CODE_ALREADYEXISTS "ALREADYEXISTS" +#define IMAP_RESP_CODE_NONEXISTENT "NONEXISTENT" + +#define IMAP_RESP_CODE_UNKNOWN_CTE "UNKNOWN-CTE" /* BINARY */ + +/* IMAP standard (RFC 3501) */ +#define IMAP_RESP_CODE_PARSE "PARSE" + +#endif |