X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gio%2Fgbufferedoutputstream.h;h=cce8f215697b42b9b4ec67ac247eeba57ad3b8c2;hb=f14a66e3df9e5e3f0f170b68e976011c80ffc041;hp=106bca704e014bafb7d8a235d9b5d8c83564be17;hpb=4c2ca6d3f4d9b2d1016aa8d4a890b7c49c7276d7;p=platform%2Fupstream%2Fglib.git diff --git a/gio/gbufferedoutputstream.h b/gio/gbufferedoutputstream.h index 106bca7..cce8f21 100644 --- a/gio/gbufferedoutputstream.h +++ b/gio/gbufferedoutputstream.h @@ -13,20 +13,18 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General - * Public License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. + * Public License along with this library; if not, see . * * Author: Christian Kellner */ +#ifndef __G_BUFFERED_OUTPUT_STREAM_H__ +#define __G_BUFFERED_OUTPUT_STREAM_H__ + #if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) #error "Only can be included directly." #endif -#ifndef __G_BUFFERED_OUTPUT_STREAM_H__ -#define __G_BUFFERED_OUTPUT_STREAM_H__ - #include G_BEGIN_DECLS @@ -40,7 +38,6 @@ G_BEGIN_DECLS /** * GBufferedOutputStream: - * @parent_class: The parent class. * * An implementation of #GFilterOutputStream with a sized buffer. **/ @@ -66,14 +63,21 @@ struct _GBufferedOutputStreamClass }; +GLIB_AVAILABLE_IN_ALL GType g_buffered_output_stream_get_type (void) G_GNUC_CONST; +GLIB_AVAILABLE_IN_ALL GOutputStream* g_buffered_output_stream_new (GOutputStream *base_stream); +GLIB_AVAILABLE_IN_ALL GOutputStream* g_buffered_output_stream_new_sized (GOutputStream *base_stream, gsize size); +GLIB_AVAILABLE_IN_ALL gsize g_buffered_output_stream_get_buffer_size (GBufferedOutputStream *stream); +GLIB_AVAILABLE_IN_ALL void g_buffered_output_stream_set_buffer_size (GBufferedOutputStream *stream, gsize size); +GLIB_AVAILABLE_IN_ALL gboolean g_buffered_output_stream_get_auto_grow (GBufferedOutputStream *stream); +GLIB_AVAILABLE_IN_ALL void g_buffered_output_stream_set_auto_grow (GBufferedOutputStream *stream, gboolean auto_grow);