Implement real LOGIN auth method for IMAP.
[claws.git] / src / imap.h
index 65185d55d59a30d9eb58ef2e1dfa2f8d19b5e500..50569e0cf5fb3f4164db2875b33dcaf70def9d06 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2011 Hiroyuki Yamamoto and the Claws Mail team
+ * Copyright (C) 1999-2012 Hiroyuki Yamamoto and the Claws Mail team
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
 
 typedef enum
 {
-       IMAP_AUTH_LOGIN         = 1 << 0,
+       IMAP_AUTH_PLAINTEXT             = 1 << 0,
        IMAP_AUTH_CRAM_MD5      = 1 << 1,
        IMAP_AUTH_ANON          = 1 << 2,
        IMAP_AUTH_GSSAPI        = 1 << 3,
-       IMAP_AUTH_DIGEST_MD5    = 1 << 4
+       IMAP_AUTH_DIGEST_MD5    = 1 << 4,
+       IMAP_AUTH_SCRAM_SHA1    = 1 << 5,
+       IMAP_AUTH_PLAIN   = 1 << 6,
+       IMAP_AUTH_LOGIN   = 1 << 7
 } IMAPAuthType;
 
 FolderClass *imap_get_class            (void);