svn path=/trunk/; revision=7346
This commit is contained in:
Matthias Clasen 2008-08-13 05:35:10 +00:00
parent af8ebc9e55
commit cec561c2cd
3 changed files with 20 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2008-08-13 Matthias Clasen <mclasen@redhat.com>
* ginputstream.c:
* goutputstream.c: Add intro docs.
2008-08-13 Tor Lillqvist <tml@novell.com>
* win32/gwinhttpfileoutputstream.c

View File

@ -38,8 +38,14 @@
* @short_description: Base class for implementing streaming input
* @include: gio/gio.h
*
* GInputStream has functions to read from a stream (g_input_stream_read()),
* to close a stream (g_input_stream_close()) and to skip some content
* (g_input_stream_skip()).
*
* To copy the content of an input stream to an output stream without
* manually handling the reads and writes, use g_output_stream_splice().
*
* All of these functions have async variants too.
**/
G_DEFINE_TYPE (GInputStream, g_input_stream, G_TYPE_OBJECT);

View File

@ -36,7 +36,14 @@
* @short_description: Base class for implementing streaming output
* @include: gio/gio.h
*
* GOutputStream has functions to write to a stream (g_output_stream_write()),
* to close a stream (g_output_stream_close()) and to flush pending writes
* (g_output_stream_flush()).
*
* To copy the content of an input stream to an output stream without
* manually handling the reads and writes, use g_output_stream_splice().
*
* All of these functions have async variants too.
**/
G_DEFINE_TYPE (GOutputStream, g_output_stream, G_TYPE_OBJECT);