]> code.citadel.org Git - citadel.git/blobdiff - citadel/modules/imap/serv_imap.h
* migrate append to StrBuf; switch the lineconverter out to stringbuf
[citadel.git] / citadel / modules / imap / serv_imap.h
index e2b3f4334f0977378e6436539c4544e60b00898f..ee7d683084cecfe6ce8988ef7af41db2b07b930d 100644 (file)
@@ -24,8 +24,7 @@ struct citimap {
        time_t last_mtime;              /* For checking whether the room was modified... */
        long *msgids;
        unsigned int *flags;
-       char *transmitted_message;      /* for APPEND command... */
-       size_t transmitted_length;
+       StrBuf *TransmittedMessage;     /* for APPEND command... */
 
        /* Cache most recent RFC822 FETCH because client might load in pieces */
        char *cached_rfc822_data;
@@ -48,7 +47,9 @@ enum {
        imap_as_normal,
        imap_as_expecting_username,
        imap_as_expecting_password,
-       imap_as_expecting_plainauth
+       imap_as_expecting_plainauth,
+       imap_as_expecting_multilineusername,
+       imap_as_expecting_multilinepassword
 };
 
 /* Flags for the above struct.  Note that some of these are for internal use,