7 void imap_cleanup_function(void);
8 void imap_greeting(void);
9 void imap_command_loop(void);
15 int selected; /* set to 1 if in the SELECTED state */
16 int readonly; /* mailbox is open read only */
17 int num_msgs; /* Number of messages being mapped */
23 * values of 'authstate'
27 imap_as_expecting_username,
28 imap_as_expecting_password
31 /* Flags for the above struct. Note that some of these are for internal use,
32 * and are not to be reported to IMAP clients.
34 #define IMAP_ANSWERED 1
35 #define IMAP_FLAGGED 2
36 #define IMAP_DELETED 4
39 #define IMAP_FETCHED 32 /* internal */
42 #define IMAP ((struct citimap *)CtdlGetUserData(SYM_IMAP))