aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-data-wrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-data-wrapper.h')
-rw-r--r--camel/camel-data-wrapper.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/camel/camel-data-wrapper.h b/camel/camel-data-wrapper.h
index ca6f7a8452..1ca3754207 100644
--- a/camel/camel-data-wrapper.h
+++ b/camel/camel-data-wrapper.h
@@ -61,7 +61,7 @@ typedef struct {
void (*set_mime_type_field) (CamelDataWrapper *data_wrapper,
CamelContentType *mime_type_field);
- int (*write_to_stream) (CamelDataWrapper *data_wrapper,
+ ssize_t (*write_to_stream) (CamelDataWrapper *data_wrapper,
CamelStream *stream);
int (*construct_from_stream) (CamelDataWrapper *data_wrapper,
@@ -75,7 +75,7 @@ CamelType camel_data_wrapper_get_type (void);
/* public methods */
CamelDataWrapper *camel_data_wrapper_new(void);
-int camel_data_wrapper_write_to_stream (CamelDataWrapper *data_wrapper,
+ssize_t camel_data_wrapper_write_to_stream (CamelDataWrapper *data_wrapper,
CamelStream *stream);
void camel_data_wrapper_set_mime_type (CamelDataWrapper *data_wrapper,
const char *mime_type);