X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=imap%2Fimap_private.h;h=cebd4ffc5395a840f82b84a43d17284d7e95f511;hb=8db3fe9c19320b6f6e508d6b1aae03980239a930;hp=be4ba69bd332a8ff691305c5aa0ad89e8a71f292;hpb=598ddfd9e5e0ea3fd368878e4bf8227014e478d5;p=apps%2Fmadmutt.git diff --git a/imap/imap_private.h b/imap/imap_private.h index be4ba69..cebd4ff 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 { @@ -125,6 +124,7 @@ typedef struct { CONNECTION *conn; unsigned char state; unsigned char status; + unsigned char isnew; /* let me explain capstr: SASL needs the capability string (not bits). * we have 3 options: * 1. rerun CAPABILITY inside SASL function. @@ -138,6 +138,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 */