projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make taht shorter
[apps/madmutt.git]
/
imap
/
imap_private.h
diff --git
a/imap/imap_private.h
b/imap/imap_private.h
index
03be3d3
..
2e9095c
100644
(file)
--- a/
imap/imap_private.h
+++ b/
imap/imap_private.h
@@
-13,9
+13,10
@@
#include <inttypes.h>
#include <inttypes.h>
+#include <lib-ui/curses.h>
+
#include "imap.h"
#include "imap.h"
-#include "mutt_socket.h"
-#include "mutt_curses.h"
+#include <lib-sys/mutt_socket.h>
/* -- symbols -- */
#define IMAP_PORT 143
/* -- symbols -- */
#define IMAP_PORT 143
@@
-88,7
+89,6
@@
enum {
AUTH_ANON, /* AUTH=ANONYMOUS */
STARTTLS, /* RFC 2595: STARTTLS */
LOGINDISABLED, /* LOGINDISABLED */
AUTH_ANON, /* AUTH=ANONYMOUS */
STARTTLS, /* RFC 2595: STARTTLS */
LOGINDISABLED, /* LOGINDISABLED */
- SASL_IR, /* SASL initial response draft */
CAPMAX
};
CAPMAX
};
@@
-156,7
+156,7
@@
typedef struct {
#endif
/* all folder flags - system flags AND keywords */
#endif
/* all folder flags - system flags AND keywords */
-
LIST
*flags;
+
string_list_t
*flags;
} IMAP_DATA;
/* I wish that were called IMAP_CONTEXT :( */
} IMAP_DATA;
/* I wish that were called IMAP_CONTEXT :( */
@@
-192,7
+192,7
@@
int imap_code (const char *s);
int imap_exec (IMAP_DATA * idata, const char *cmd, int flags);
/* message.c */
int imap_exec (IMAP_DATA * idata, const char *cmd, int flags);
/* message.c */
-void imap_add_keywords (char *s, HEADER * keywords,
LIST
* mailbox_flags,
+void imap_add_keywords (char *s, HEADER * keywords,
string_list_t
* mailbox_flags,
size_t slen);
void imap_free_header_data (void **data);
int imap_read_headers (IMAP_DATA * idata, int msgbegin, int msgend);
size_t slen);
void imap_free_header_data (void **data);
int imap_read_headers (IMAP_DATA * idata, int msgbegin, int msgend);