imap: Introduced a custom IMAP structure for per-request data

Created a new IMAP structure and changed the type of the imap proto
variable in connectdata from FTP* to the new IMAP*.

Moved the mailbox variable from the per-connection struct imap_conn to
the new per-request struct and fixed references accordingly.
This commit is contained in:
Jiri Hruska
2013-02-23 10:29:40 +01:00
committed by Steve Holme
parent 3906353b41
commit 2476b34b95
3 changed files with 27 additions and 15 deletions

View File

@@ -1292,7 +1292,7 @@ struct UrlState {
void *telnet; /* private for telnet.c-eyes only */
void *generic;
struct SSHPROTO *ssh;
struct FTP *imap;
struct IMAP *imap;
struct FTP *pop3;
struct FTP *smtp;
} proto;