aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-data-wrapper.c
diff options
context:
space:
mode:
authorbertrand <Bertrand.Guiheneuf@inria.fr>1999-06-29 00:05:09 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-06-29 00:05:09 +0800
commit1659afa3d3159f2546bbde6b3cd6353735a81646 (patch)
treea9a5e63850cdb2d5ca0dc961271377a991d23d13 /camel/camel-data-wrapper.c
parent817f237398296dbdafc091d51a6fed2053a9c1c1 (diff)
downloadgsoc2013-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.c')
-rw-r--r--camel/camel-data-wrapper.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/camel/camel-data-wrapper.c b/camel/camel-data-wrapper.c
index 38d91b13e9..05d97d415d 100644
--- a/camel/camel-data-wrapper.c
+++ b/camel/camel-data-wrapper.c
@@ -31,7 +31,7 @@ static GtkObjectClass *parent_class=NULL;
/* Returns the class for a CamelDataWrapper */
#define CDW_CLASS(so) CAMEL_DATA_WRAPPER_CLASS (GTK_OBJECT(so)->klass)
-static void _construct_from_stream (CamelDataWrapper *data_wrapper, CamelStream *stream, guint size);
+static void _construct_from_stream (CamelDataWrapper *data_wrapper, CamelStream *stream);
static void _write_to_stream (CamelDataWrapper *data_wrapper, CamelStream *stream);
static void _set_mime_type (CamelDataWrapper *data_wrapper, GString *mime_type);
static GString *_get_mime_type (CamelDataWrapper *data_wrapper);
@@ -133,15 +133,15 @@ camel_data_wrapper_write_to_stream (CamelDataWrapper *data_wrapper, CamelStream
static void
-_construct_from_stream (CamelDataWrapper *data_wrapper, CamelStream *stream, guint size)
+_construct_from_stream (CamelDataWrapper *data_wrapper, CamelStream *stream)
{
/* nothing */
}
void
-camel_data_wrapper_construct_from_stream (CamelDataWrapper *data_wrapper, CamelStream *stream, guint size)
+camel_data_wrapper_construct_from_stream (CamelDataWrapper *data_wrapper, CamelStream *stream)
{
- CDW_CLASS(data_wrapper)->construct_from_stream (data_wrapper, stream, size);
+ CDW_CLASS(data_wrapper)->construct_from_stream (data_wrapper, stream);
}