diff options
author | bertrand <Bertrand.Guiheneuf@inria.fr> | 1999-06-29 00:05:09 +0800 |
---|---|---|
committer | Bertrand Guiheneuf <bertrand@src.gnome.org> | 1999-06-29 00:05:09 +0800 |
commit | 1659afa3d3159f2546bbde6b3cd6353735a81646 (patch) | |
tree | a9a5e63850cdb2d5ca0dc961271377a991d23d13 /camel/camel-data-wrapper.h | |
parent | 817f237398296dbdafc091d51a6fed2053a9c1c1 (diff) | |
download | gsoc2013-evolution-1659afa3d3159f2546bbde6b3cd6353735a81646.tar.gz gsoc2013-evolution-1659afa3d3159f2546bbde6b3cd6353735a81646.tar.zst gsoc2013-evolution-1659afa3d3159f2546bbde6b3cd6353735a81646.zip |
now use CamelDataWrapper::contruct_form_stream to test message parsing
1999-06-28 bertrand <Bertrand.Guiheneuf@inria.fr>
* tests/test2.c (main): now use
CamelDataWrapper::contruct_form_stream to test
message parsing
* camel/camel-data-wrapper.c:
* camel/camel-data-wrapper.h:
construct_from_stream no longer has maximimum size arg.
* camel/camel-mime-part.c (_construct_from_stream): new.
Construct the mime_part from a stream.
svn path=/trunk/; revision=1003
Diffstat (limited to 'camel/camel-data-wrapper.h')
-rw-r--r-- | camel/camel-data-wrapper.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/camel/camel-data-wrapper.h b/camel/camel-data-wrapper.h index d0881ebe6e..365852d5ce 100644 --- a/camel/camel-data-wrapper.h +++ b/camel/camel-data-wrapper.h @@ -58,7 +58,7 @@ typedef struct { /* Virtual methods */ void (*write_to_stream) (CamelDataWrapper *data_wrapper, CamelStream *stream); - void (*construct_from_stream) (CamelDataWrapper *data_wrapper, CamelStream *stream, guint size); + void (*construct_from_stream) (CamelDataWrapper *data_wrapper, CamelStream *stream); void (*set_mime_type) (CamelDataWrapper *data_wrapper, GString *content_type); GString * (*get_mime_type) (CamelDataWrapper *data_wrapper); @@ -73,7 +73,7 @@ GtkType camel_data_wrapper_get_type (void); /* public methods */ void camel_data_wrapper_write_to_stream (CamelDataWrapper *data_wrapper, CamelStream *stream); -void camel_data_wrapper_construct_from_stream (CamelDataWrapper *data_wrapper, CamelStream *stream, guint size); +void camel_data_wrapper_construct_from_stream (CamelDataWrapper *data_wrapper, CamelStream *stream); void camel_data_wrapper_set_mime_type (CamelDataWrapper *data_wrapper, GString *mime_type); static GString *camel_data_wrapper_get_mime_type (CamelDataWrapper *data_wrapper); |