diff options
author | bertrand <bertrand@helixcode.com> | 2000-02-29 22:12:59 +0800 |
---|---|---|
committer | Bertrand Guiheneuf <bertrand@src.gnome.org> | 2000-02-29 22:12:59 +0800 |
commit | 39cbe68b8aba4a2839f10a4473f18954e591a5bf (patch) | |
tree | d36bc2ee1e78852871085c6381c582500d129e1e /camel/camel-stream-b64.h | |
parent | 57bf3cc473c15d3f630aa8fde4ea52e083c5bdc6 (diff) | |
download | gsoc2013-evolution-39cbe68b8aba4a2839f10a4473f18954e591a5bf.tar.gz gsoc2013-evolution-39cbe68b8aba4a2839f10a4473f18954e591a5bf.tar.zst gsoc2013-evolution-39cbe68b8aba4a2839f10a4473f18954e591a5bf.zip |
new utility function.
2000-02-29 bertrand <bertrand@helixcode.com>
* 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
Diffstat (limited to 'camel/camel-stream-b64.h')
-rw-r--r-- | camel/camel-stream-b64.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 } |