From 39cbe68b8aba4a2839f10a4473f18954e591a5bf Mon Sep 17 00:00:00 2001 From: bertrand Date: Tue, 29 Feb 2000 14:12:59 +0000 Subject: new utility function. 2000-02-29 bertrand * camel-stream-b64.c (camel_stream_b64_write_to_stream): new utility function. * camel-data-wrapper.c (_write_to_stream): default implementation. svn path=/trunk/; revision=1989 --- camel/camel-stream-b64.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'camel/camel-stream-b64.h') diff --git a/camel/camel-stream-b64.h b/camel/camel-stream-b64.h index 23ad7d39b2..2d2932951d 100644 --- a/camel/camel-stream-b64.h +++ b/camel/camel-stream-b64.h @@ -116,6 +116,11 @@ CamelStream * camel_stream_b64_new_with_input_stream (CamelStream * void camel_stream_b64_set_mode (CamelStreamB64 *stream_b64, CamelStreamB64Mode mode); +/* utility function that writes the whole de/en-coded + stream to an output stream */ +void camel_stream_b64_write_to_stream (CamelStream *stream, + CamelStream *output_stream); + #ifdef __cplusplus } -- cgit v1.2.3