Blob


1 typedef struct Imap Imap;
3 void imapcheckbox(Imap *z, Box *b);
4 Imap* imapconnect(char *server, int mode);
5 int imapcopylist(Imap *z, char *nbox, Msg **m, uint nm);
6 void imapfetchraw(Imap *z, Part *p);
7 void imapfetchrawbody(Imap *z, Part *p);
8 void imapfetchrawheader(Imap *z, Part *p);
9 void imapfetchrawmime(Imap *z, Part *p);
10 int imapflaglist(Imap *z, int op, int flag, Msg **m, uint nm);
11 void imaphangup(Imap *z, int ticks);
12 int imapremovelist(Imap *z, Msg **m, uint nm);
13 int imapsearchbox(Imap *z, Box *b, char *search, Msg ***mm);
15 extern int chattyimap;
17 enum
18 {
19 Unencrypted,
20 Starttls,
21 Tls,
22 Cmd
23 };