X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=imap%2Fimap_private.h;h=cfa9b4d6d8dec6cbdc9b28612b32fdab36ad75dd;hb=9120e2c008281fb4acb9048545aa67873197b1d1;hp=5486c21b52511f4f82d65969fb48ed2abfe69391;hpb=d8aeb41018aaf2f85fbd937278ffdd94164e236e;p=apps%2Fmadmutt.git diff --git a/imap/imap_private.h b/imap/imap_private.h index 5486c21..cfa9b4d 100644 --- a/imap/imap_private.h +++ b/imap/imap_private.h @@ -114,10 +114,9 @@ typedef struct { /* IMAP command structure */ typedef struct { - char seq[SEQLEN + 1]; - char *buf; - unsigned int blen; int state; + char seq[SEQLEN + 1]; + buffer_t buf; } IMAP_COMMAND; typedef struct { @@ -138,6 +137,7 @@ typedef struct { unsigned int seqno; time_t lastread; /* last time we read a command for the server */ /* who knows, one day we may run multiple commands in parallel */ + IMAP_COMMAND cmd; /* The following data is all specific to the currently SELECTED mbox */ @@ -150,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 */