From ca7044930f42a698fd88f914c2512a20e2eeaae9 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Wed, 17 Nov 1999 14:39:25 +0000 Subject: Added streaming capability to CamelDataWrapper. This makes it possible, for example, to build multipart messages out of files that are on disk without loading them in memory. svn path=/trunk/; revision=1394 --- camel/camel-data-wrapper.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'camel/camel-data-wrapper.h') diff --git a/camel/camel-data-wrapper.h b/camel/camel-data-wrapper.h index 2f56ed2000..e5a97f0f78 100644 --- a/camel/camel-data-wrapper.h +++ b/camel/camel-data-wrapper.h @@ -66,6 +66,7 @@ typedef struct { gchar * (*get_mime_type) (CamelDataWrapper *data_wrapper); GMimeContentField * (*get_mime_type_field) (CamelDataWrapper *data_wrapper); void (*set_mime_type_field) (CamelDataWrapper *data_wrapper, GMimeContentField *mime_type_field); + CamelStream * (*get_stream) (CamelDataWrapper *data_wrapper); } CamelDataWrapperClass; @@ -82,6 +83,7 @@ void camel_data_wrapper_set_mime_type (CamelDataWrapper *data_wrapper, gchar *mi gchar *camel_data_wrapper_get_mime_type (CamelDataWrapper *data_wrapper); GMimeContentField *camel_data_wrapper_get_mime_type_field (CamelDataWrapper *data_wrapper); void camel_data_wrapper_set_mime_type_field (CamelDataWrapper *data_wrapper, GMimeContentField *mime_type); +CamelStream *camel_data_wrapper_get_stream (CamelDataWrapper *data_wrapper); #ifdef __cplusplus } -- cgit