X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gio%2Fglocalfileinputstream.h;h=6dddc929fbcfd696d9738d934a54788654ceaf1d;hb=174ebaefcc2b1b94f4a628e60f150b7209230dbf;hp=3e01f16f4c41c5f24ad8c97ec12222f38b07de5e;hpb=d9594f5709313d6e7a8a4f3e5f3b23fc72017417;p=platform%2Fupstream%2Fglib.git diff --git a/gio/glocalfileinputstream.h b/gio/glocalfileinputstream.h index 3e01f16..6dddc92 100644 --- a/gio/glocalfileinputstream.h +++ b/gio/glocalfileinputstream.h @@ -1,5 +1,5 @@ /* GIO - GLib Input, Output and Streaming Library - * + * * Copyright (C) 2006-2007 Red Hat, Inc. * * This library is free software; you can redistribute it and/or @@ -13,9 +13,7 @@ * 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: Alexander Larsson */ @@ -40,7 +38,7 @@ typedef struct _GLocalFileInputStreamPrivate GLocalFileInputStreamPrivate; struct _GLocalFileInputStream { - GFileInputStream parent; + GFileInputStream parent_instance; /*< private >*/ GLocalFileInputStreamPrivate *priv; @@ -51,9 +49,12 @@ struct _GLocalFileInputStreamClass GFileInputStreamClass parent_class; }; -GType _g_local_file_input_stream_get_type (void) G_GNUC_CONST; +GType _g_local_file_input_stream_get_type (void) G_GNUC_CONST; + +GFileInputStream *_g_local_file_input_stream_new (int fd); +void _g_local_file_input_stream_set_do_close (GLocalFileInputStream *in, + gboolean do_close); -GFileInputStream *_g_local_file_input_stream_new (int fd); G_END_DECLS