aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-stream.h
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-stream.h')
-rw-r--r--camel/camel-stream.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/camel/camel-stream.h b/camel/camel-stream.h
index e7375f41aa..bd1123c1c8 100644
--- a/camel/camel-stream.h
+++ b/camel/camel-stream.h
@@ -94,6 +94,9 @@ void camel_stream_reset (CamelStream *stream);
#define camel_stream_write_string(stream, string) camel_stream_write ((stream), (string), strlen (string))
void camel_stream_write_strings (CamelStream *stream, ... );
+/* write a whole stream to another stream, until eof */
+/* FIXME: this should definetly have an error return code */
+void camel_stream_write_to_stream (CamelStream *stream, CamelStream *output_stream);
#ifdef __cplusplus
}