]> code.citadel.org Git - citadel.git/blobdiff - webcit/messages.h
* output the mime type of the tepmlate in read_message so we can have different ones
[citadel.git] / webcit / messages.h
index aa24ff558c991a0af1161bc545fe6d61214b854f..cd2e8ecfca5bfcc5c4dbabc5ff17a9236caa8f8b 100644 (file)
@@ -17,7 +17,7 @@ struct wc_mime_attachment {
        StrBuf *ContentType;
        StrBuf *Charset;
        StrBuf *Data;
-       size_t length;                     /* length of the mimeatachment */
+       size_t length;                     /* length of the mimeattachment */
        long size_known;
        long lvalue;               /* if we put a long... */
        long msgnum;            /**< the message number on the citadel server derived from message_summary */
@@ -48,14 +48,14 @@ typedef struct _message_summary {
        StrBuf *OtherNode;
        const StrBuf *PartNum;
 
-       HashList *Attachments;  /**< list of Accachments */
+       HashList *Attachments;  /**< list of Attachments */
        HashList *Submessages;
        HashList *AttachLinks;
 
        HashList *AllAttach;
 
        int is_new;         /**< is it yet read? */
-       int hasattachments;     /* does it have atachments? */
+       int hasattachments;     /* does it have attachments? */
 
 
        /** The mime part of the message */
@@ -88,10 +88,11 @@ void readloop(long oper);
 int read_message(StrBuf *Target, 
                 const char *tmpl, long tmpllen, 
                 long msgnum, 
-                const StrBuf *section);
+                const StrBuf *section, 
+                const StrBuf **OutMime);
 int load_message(message_summary *Msg, 
                 StrBuf *FoundCharset,
-                StrBuf **Error)
+                StrBuf **Error);
 
 
 int load_msg_ptrs(const char *servcmd, int with_headers);