* migrate more of the upload handling to strbuf
[citadel.git] / webcit / webcit.h
index b1f619ea0a9dcd49db3d846f4cf0c4de149e82e6..287d0558cd61438c8f6702883433e961570e6b05 100644 (file)
@@ -529,7 +529,7 @@ struct wcsession {
 /* Uploading; mime attachments for composing messages */
        HashList *attachments;                  /**< list of attachments for 'enter message' */
        int upload_length;                      /**< content length of http-uploaded data */
-       char *upload;                           /**< pointer to http-uploaded data */
+       StrBuf *upload;                         /**< pointer to http-uploaded data */
        char upload_filename[PATH_MAX];         /**< filename of http-uploaded data */
        char upload_content_type[256];          /**< content type of http-uploaded data */
 
@@ -640,7 +640,7 @@ void stuff_to_cookie(char *cookie, size_t clen,
                StrBuf *user,
                StrBuf *pass,
                StrBuf *room,
-               char *language
+               const char *language
 );
 void cookie_to_stuff(StrBuf *cookie,
                int *session,