diff options
author | Bertrand Guiheneuf <bertrand@src.gnome.org> | 1999-06-19 04:32:18 +0800 |
---|---|---|
committer | Bertrand Guiheneuf <bertrand@src.gnome.org> | 1999-06-19 04:32:18 +0800 |
commit | 19a118096fe6f3d7b79a0fe3cb6e5bfe50ef8767 (patch) | |
tree | 04f063fc3c18e43eea5251943be93fa89cfd5549 /camel/camel-stream.c | |
parent | 499ae51b86891889ffb5fd9954b1f60efcadfed2 (diff) | |
download | gsoc2013-evolution-19a118096fe6f3d7b79a0fe3cb6e5bfe50ef8767.tar.gz gsoc2013-evolution-19a118096fe6f3d7b79a0fe3cb6e5bfe50ef8767.tar.zst gsoc2013-evolution-19a118096fe6f3d7b79a0fe3cb6e5bfe50ef8767.zip |
Commit of all Netherlands changes.
All mime stuff uses streams now, and it still works.
Bertrand
svn path=/trunk/; revision=981
Diffstat (limited to 'camel/camel-stream.c')
-rw-r--r-- | camel/camel-stream.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/camel/camel-stream.c b/camel/camel-stream.c index c993556fa0..9f9e912bd8 100644 --- a/camel/camel-stream.c +++ b/camel/camel-stream.c @@ -192,3 +192,25 @@ camel_stream_close (CamelStream *stream) { CS_CLASS (stream)->close (stream); } + + + + + +/***************** Utility functions ********************/ + +void +camel_stream_write_strings (CamelStream *stream, ... ) +{ + va_list args; + char *string; + + va_start(args, stream); + string = va_arg (args, char *); + + while (string) { + camel_stream_write_string(stream, string); + string = va_arg (args, char *); + } + va_end (args); +} |