aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-stream-mem.h
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-03-28 00:58:32 +0800
committerDan Winship <danw@src.gnome.org>2000-03-28 00:58:32 +0800
commitf8c580e8fda4cb3e28b57172c1fe3197ce7f7bc7 (patch)
tree5f8918583fc0eeeffe3b4b31cff7031fb225c8da /camel/camel-stream-mem.h
parentedc4a9dfd6c18e17e64b92bdc434467bf1c22dec (diff)
downloadgsoc2013-evolution-f8c580e8fda4cb3e28b57172c1fe3197ce7f7bc7.tar
gsoc2013-evolution-f8c580e8fda4cb3e28b57172c1fe3197ce7f7bc7.tar.gz
gsoc2013-evolution-f8c580e8fda4cb3e28b57172c1fe3197ce7f7bc7.tar.bz2
gsoc2013-evolution-f8c580e8fda4cb3e28b57172c1fe3197ce7f7bc7.tar.lz
gsoc2013-evolution-f8c580e8fda4cb3e28b57172c1fe3197ce7f7bc7.tar.xz
gsoc2013-evolution-f8c580e8fda4cb3e28b57172c1fe3197ce7f7bc7.tar.zst
gsoc2013-evolution-f8c580e8fda4cb3e28b57172c1fe3197ce7f7bc7.zip
rename camel_stream_mem_new_with_buffer to ..._with_byte_array and add a
* camel-stream-mem.c (camel_stream_mem_new_with_buffer): rename camel_stream_mem_new_with_buffer to ..._with_byte_array and add a new ..._with_buffer that takes a char * rather than a GByteArray. svn path=/trunk/; revision=2189
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