X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=imap%2Fimap_private.h;h=2bdebe6284b8fc6a925754ed9981fd3d04c8327e;hp=290f81afc4d5030590bcefcb5898a8d15ab8ab3b;hb=40fc05e11b8f95a9661e6e410a9e7b7da7824891;hpb=dbb9a1e16d03a2d4664d6dc6a30c721b889d4982 diff --git a/imap/imap_private.h b/imap/imap_private.h index 290f81a..2bdebe6 100644 --- a/imap/imap_private.h +++ b/imap/imap_private.h @@ -16,7 +16,7 @@ #include #include "imap.h" -#include "mutt_socket.h" +#include /* -- symbols -- */ #define IMAP_PORT 143 @@ -156,7 +156,7 @@ typedef struct { #endif /* all folder flags - system flags AND keywords */ - LIST *flags; + string_list_t *flags; } 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 */ -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); @@ -204,7 +204,7 @@ void imap_error (const char *where, const char *msg); IMAP_DATA *imap_new_idata (void); void imap_free_idata (IMAP_DATA ** idata); char *imap_fix_path (IMAP_DATA * idata, char *mailbox, char *path, - size_t plen); + ssize_t plen); int imap_get_literal_count (const char *buf, long *bytes); char *imap_get_qualifier (char *buf); char *imap_next_word (char *s);