summaryrefslogtreecommitdiff
path: root/imap/src/c-client/mail.h
diff options
context:
space:
mode:
Diffstat (limited to 'imap/src/c-client/mail.h')
-rw-r--r--imap/src/c-client/mail.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/imap/src/c-client/mail.h b/imap/src/c-client/mail.h
index 6e429b00..7d1bae1d 100644
--- a/imap/src/c-client/mail.h
+++ b/imap/src/c-client/mail.h
@@ -1948,9 +1948,10 @@ int PFLUSH (void);
#define OAUTH2_TOT_EQUIV (OAUTH2_MAX_EQUIV + 2)
#define OAUTH2_PARAM_NUMBER (8)
-#define OA2_UNKNOWN 0x00 /* We do not know what method this client-id uses */
-#define OA2_DEVICE 0x01 /* Client ID obtained by client uses Device Method */
-#define OA2_AUTHORIZE 0x10 /* Client ID obtained by client uses Authorize Method */
+#define OA2_UNKNOWN 0x000 /* We do not know what method this client-id uses */
+#define OA2_DEVICE 0x001 /* Client ID obtained by client uses Device Method */
+#define OA2_AUTHORIZE 0x010 /* Client ID obtained by client uses Authorize Method */
+#define OA2_OPENSTREAM 0x100 /* We are opening a stream for the first time */
typedef enum {OA2_Id = 0,
OA2_Secret,