aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-part.h
diff options
context:
space:
mode:
authorbertrand <Bertrand.Guiheneuf@inria.fr>1999-06-28 22:36:11 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-06-28 22:36:11 +0800
commit817f237398296dbdafc091d51a6fed2053a9c1c1 (patch)
treee5b08c4a07a052f67d286852b96daaaddb3c0840 /camel/camel-mime-part.h
parent0e4983d6b9e0450741ffa8d7c7b0257d5fbbf3a3 (diff)
downloadgsoc2013-evolution-817f237398296dbdafc091d51a6fed2053a9c1c1.tar
gsoc2013-evolution-817f237398296dbdafc091d51a6fed2053a9c1c1.tar.gz
gsoc2013-evolution-817f237398296dbdafc091d51a6fed2053a9c1c1.tar.bz2
gsoc2013-evolution-817f237398296dbdafc091d51a6fed2053a9c1c1.tar.lz
gsoc2013-evolution-817f237398296dbdafc091d51a6fed2053a9c1c1.tar.xz
gsoc2013-evolution-817f237398296dbdafc091d51a6fed2053a9c1c1.tar.zst
gsoc2013-evolution-817f237398296dbdafc091d51a6fed2053a9c1c1.zip
new field (content_type) and associated methods. (camel_mime_part_init):
1999-06-28 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/camel-mime-part.c: new field (content_type) and associated methods. (camel_mime_part_init): initialize content_type field. (_parse_header_pair): now set content_type MimePart field instead of using DataWrapper Mime typing facility. 1999-06-28 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/camel-data-wrapper.h: s/content_type/mime_type/ 1 svn path=/trunk/; revision=1002
Diffstat (limited to 'camel/camel-mime-part.h')
-rw-r--r--camel/camel-mime-part.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/camel/camel-mime-part.h b/camel/camel-mime-part.h
index eadf65ce68..ad3ce17d2f 100644
--- a/camel/camel-mime-part.h
+++ b/camel/camel-mime-part.h
@@ -58,7 +58,8 @@ typedef struct
GString *encoding;
GString *filename;
GList *header_lines;
-
+
+ GMimeContentField *content_type;
CamelDataWrapper *content; /* part real content */
} CamelMimePart;
@@ -88,6 +89,8 @@ typedef struct {
GList * (*get_content_languages) (CamelMimePart *mime_part);
void (*set_header_lines) (CamelMimePart *mime_part, GList *header_lines);
GList * (*get_header_lines) (CamelMimePart *mime_part);
+ void (*set_content_type) (CamelMimePart *mime_part, GString *content_type);
+ GString * (*get_content_type) (CamelMimePart *mime_part);
gboolean (*parse_header_pair) (CamelMimePart *mime_part, GString *header_name, GString *header_value);