summaryrefslogtreecommitdiffstats
path: root/src/lib-imap/imap-resp-code.h
blob: a7a4de8c5d5c9d8a92dd88c6eddd491589e0ba7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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