plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

imap.h (663B)


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