X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=imap%2Fimap_private.h;h=be4ba69bd332a8ff691305c5aa0ad89e8a71f292;hb=d9fb9e0065b85ee47710bbcba7a81a5266e9e948;hp=2e9095c0b0d2eec419c186c2c4ebfb17399006ab;hpb=108f3c7ab59844591f7540347914ea57be5245e2;p=apps%2Fmadmutt.git diff --git a/imap/imap_private.h b/imap/imap_private.h index 2e9095c..be4ba69 100644 --- a/imap/imap_private.h +++ b/imap/imap_private.h @@ -11,12 +11,10 @@ #ifndef _IMAP_PRIVATE_H #define _IMAP_PRIVATE_H 1 -#include - +#include #include #include "imap.h" -#include /* -- symbols -- */ #define IMAP_PORT 143 @@ -99,7 +97,7 @@ enum { /* -- data structures -- */ typedef struct { - unsigned int uid; + int uid; char *path; } IMAP_CACHE; @@ -152,7 +150,7 @@ typedef struct { unsigned int newMailCount; IMAP_CACHE cache[IMAP_CACHE_LEN]; #ifdef USE_HCACHE - unsigned long uid_validity; + long uid_validity; #endif /* all folder flags - system flags AND keywords */ @@ -204,7 +202,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);