diff options
author | bertrand <Bertrand.Guiheneuf@aful.org> | 2000-02-15 06:03:58 +0800 |
---|---|---|
committer | Bertrand Guiheneuf <bertrand@src.gnome.org> | 2000-02-15 06:03:58 +0800 |
commit | fe058b1be72112298e356343f3a8b35fd60a072b (patch) | |
tree | 0e2fe60abb27fa6070dc20f1e427b002c6db6f5a /camel/camel-mime-part.c | |
parent | d8efd64ed0bc53ad0a74115c1d14a700b3874013 (diff) | |
download | gsoc2013-evolution-fe058b1be72112298e356343f3a8b35fd60a072b.tar gsoc2013-evolution-fe058b1be72112298e356343f3a8b35fd60a072b.tar.gz gsoc2013-evolution-fe058b1be72112298e356343f3a8b35fd60a072b.tar.bz2 gsoc2013-evolution-fe058b1be72112298e356343f3a8b35fd60a072b.tar.lz gsoc2013-evolution-fe058b1be72112298e356343f3a8b35fd60a072b.tar.xz gsoc2013-evolution-fe058b1be72112298e356343f3a8b35fd60a072b.tar.zst gsoc2013-evolution-fe058b1be72112298e356343f3a8b35fd60a072b.zip |
make a blocking version of the header parser. When the fs stream uses
2000-02-14 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/gmime-utils.c (get_header_array_from_stream):
make a blocking version of the header parser.
When the fs stream uses gnome-vfs, this should
be changed.
(gmime_read_line_from_stream): ditto.
2000-02-11 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/camel-stream-fs.c:
everywhere, when using the cur_pos field, do it
on the CamelSeekableStream object.
(_seek): small fix.
* camel/camel-seekable-stream.c (camel_seekable_stream_seek):
s/camel_stream_seek/camel_seekable_stream_seek/g
* camel/camel-seekable-stream.h:
(struct ): added a field to store the
current position.
* camel/camel-seekable-stream.c (camel_seekable_stream_get_current_position):
New function. Allows to get the current position
of a seekable stream.
In fact much more changes, but I am lazy.
This is the begining of some major changes
in camel.
svn path=/trunk/; revision=1778
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) { |