]> code.citadel.org Git - citadel.git/blobdiff - webcit/webcit.h
* while decoding messages, guess the charset in this sequence:
[citadel.git] / webcit / webcit.h
index e5cc2e905c27a3f894a88c96e7218ed8e7c0850c..ac36328c4cff786a932b12344110ef3b3ca6e0aa 100644 (file)
@@ -401,6 +401,7 @@ typedef struct _wc_mime_attachment {
        StrBuf *Charset;
        StrBuf *Data;
        size_t length;                     /* length of the mimeatachment */
+       long size_known;
        char content_type[SIZ];    /* the content itself ???*/
        char filename[SIZ];                /* the filename hooked to this content ??? */
        char *data;                /* the data pool; aka this content */
@@ -409,7 +410,7 @@ typedef struct _wc_mime_attachment {
 }wc_mime_attachment;
 
 
-typedef void (*RenderMimeFunc)(wc_mime_attachment *Mime, StrBuf *RawData);
+typedef void (*RenderMimeFunc)(wc_mime_attachment *Mime, StrBuf *RawData, StrBuf *FoundCharset);
 
 /*
  * \brief message summary structure. ???
@@ -449,7 +450,7 @@ typedef struct _message_summary {
        wc_mime_attachment *vcard_partnum_ref;
 } message_summary;
 
-typedef void (*ExamineMsgHeaderFunc)(message_summary *Msg, StrBuf *HdrLine);
+typedef void (*ExamineMsgHeaderFunc)(message_summary *Msg, StrBuf *HdrLine, StrBuf *FoundCharset);
 
 
 
@@ -671,6 +672,7 @@ void who_inner_div(void);
 void ajax_mini_calendar(void);
 void fmout(char *align);
 void _fmout(StrBuf *Targt, char *align);
+void FmOut(StrBuf *Target, char *align, StrBuf *Source);
 void pullquote_fmout(void);
 void wDumpContent(int);