diff options
Diffstat (limited to 'camel/camel-mime-part.c')
-rw-r--r-- | camel/camel-mime-part.c | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/camel/camel-mime-part.c b/camel/camel-mime-part.c index 84140f5aa7..974c770df5 100644 --- a/camel/camel-mime-part.c +++ b/camel/camel-mime-part.c @@ -60,8 +60,10 @@ static CamelMediumClass *parent_class=NULL; static void _finalize (GtkObject *object); /* from CamelDataWrapper */ -static void _write_to_stream (CamelDataWrapper *data_wrapper, CamelStream *stream); +static void _write_to_stream (CamelDataWrapper *data_wrapper, CamelStream *stream); static void _construct_from_stream (CamelDataWrapper *data_wrapper, CamelStream *stream); +static void _set_input_stream (CamelDataWrapper *data_wrapper, CamelStream *stream); + /* from CamelMedia */ static void _add_header (CamelMedium *medium, gchar *header_name, gchar *header_value); @@ -791,6 +793,19 @@ _construct_from_stream (CamelDataWrapper *data_wrapper, CamelStream *stream) } +static void +_set_input_stream (CamelDataWrapper *data_wrapper, CamelStream *stream) +{ + CamelMimePart *mime_part = CAMEL_MIME_PART (data_wrapper); + + CAMEL_LOG_FULL_DEBUG ("CamelMimePart::construct_from_stream entering\n"); + camel_mime_part_construct_headers_from_stream (mime_part, stream); + + + +} + + const gchar * camel_mime_part_encoding_to_string (CamelMimePartEncodingType encoding) { |