#include "imap.h"
#include "mutt_socket.h"
+#include "mutt_curses.h"
/* -- symbols -- */
#define IMAP_PORT 143
IMAP_NS_SHARED
};
-/* ACL Rights */
-enum {
- IMAP_ACL_LOOKUP = 0,
- IMAP_ACL_READ,
- IMAP_ACL_SEEN,
- IMAP_ACL_WRITE,
- IMAP_ACL_INSERT,
- IMAP_ACL_POST,
- IMAP_ACL_CREATE,
- IMAP_ACL_DELETE,
- IMAP_ACL_ADMIN,
-
- RIGHTSMAX
-};
+/* ACL Rights are moved to ../mx.h */
/* Capabilities we are interested in */
enum {
unsigned char rights[(RIGHTSMAX + 7) / 8];
unsigned int newMailCount;
IMAP_CACHE cache[IMAP_CACHE_LEN];
- int noclose:1;
#ifdef USE_HCACHE
unsigned long uid_validity;
#endif
IMAP_DATA *imap_conn_find (const ACCOUNT * account, int flags);
int imap_parse_list_response (IMAP_DATA * idata, char **name, int *noselect,
int *noinferiors, char *delim);
-int imap_read_literal (FILE * fp, IMAP_DATA * idata, long bytes);
+int imap_read_literal (FILE * fp, IMAP_DATA * idata, long bytes, progress_t*);
void imap_expunge_mailbox (IMAP_DATA * idata);
int imap_reconnect (CONTEXT * ctx);
void imap_logout (IMAP_DATA * idata);