diff options
Diffstat (limited to 'camel/camel-mime-part.h')
-rw-r--r-- | camel/camel-mime-part.h | 5 |
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); |