aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-stream-mem.h
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-stream-mem.h')
-rw-r--r--camel/camel-stream-mem.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/camel/camel-stream-mem.h b/camel/camel-stream-mem.h
index c7339b98e4..65b9748715 100644
--- a/camel/camel-stream-mem.h
+++ b/camel/camel-stream-mem.h
@@ -78,9 +78,11 @@ GtkType camel_stream_mem_get_type (void);
/* public methods */
CamelStream *camel_stream_mem_new (CamelStreamMemMode mode);
-CamelStream * camel_stream_mem_new_with_buffer (GByteArray *buffer,
- CamelStreamMemMode mode);
-
+CamelStream *camel_stream_mem_new_with_byte_array (GByteArray *buffer,
+ CamelStreamMemMode mode);
+CamelStream *camel_stream_mem_new_with_buffer (const char *buffer,
+ unsigned int len,
+ CamelStreamMemMode mode);
#ifdef __cplusplus