aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-medium.h
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-medium.h')
-rw-r--r--camel/camel-medium.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/camel/camel-medium.h b/camel/camel-medium.h
index c35466336c..d39b5898ad 100644
--- a/camel/camel-medium.h
+++ b/camel/camel-medium.h
@@ -48,7 +48,6 @@ typedef struct
GHashTable *headers;
- GMimeContentField *content_type;
CamelDataWrapper *content; /* part real content */
} CamelMedium;
@@ -63,6 +62,9 @@ typedef struct {
void (*remove_header) (CamelMedium *medium, const gchar *header_name);
const gchar * (*get_header) (CamelMedium *medium, const gchar *header_name);
+ CamelDataWrapper * (*get_content_object) (CamelMedium *medium);
+ void (*set_content_object) (CamelMedium *medium, CamelDataWrapper *content);
+
} CamelMediumClass;
@@ -77,6 +79,8 @@ void camel_medium_remove_header (CamelMedium *medium, const gchar *header_name);
const gchar *camel_medium_get_header (CamelMedium *medium, const gchar *header_name);
+CamelDataWrapper *camel_medium_get_content_object (CamelMedium *medium);
+void camel_medium_set_content_object (CamelMedium *medium, CamelDataWrapper *content);
#ifdef __cplusplus