X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=imap%2Fimap_private.h;fp=imap%2Fimap_private.h;h=cfa9b4d6d8dec6cbdc9b28612b32fdab36ad75dd;hp=be4ba69bd332a8ff691305c5aa0ad89e8a71f292;hb=eab38ff6950a0075741f24ac9fb0d9eaf7df8671;hpb=d9fb9e0065b85ee47710bbcba7a81a5266e9e948;ds=sidebyside diff --git a/imap/imap_private.h b/imap/imap_private.h index be4ba69..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 */