Add "fd" and "close-fd" properties including getters and setters. Patch by

* gio.symbols:
        * gunixinputstream.[hc]:
        * gunixoutputstream.[hc]: Add "fd" and "close-fd" properties
        including getters and setters. Patch by Maciej Piechotka


svn path=/trunk/; revision=7735
This commit is contained in:
Matthias Clasen
2008-12-08 05:41:43 +00:00
parent b2f0d44acb
commit b047087ac3
8 changed files with 390 additions and 41 deletions

View File

@@ -64,10 +64,14 @@ struct _GUnixInputStreamClass
void (*_g_reserved5) (void);
};
GType g_unix_input_stream_get_type (void) G_GNUC_CONST;
GType g_unix_input_stream_get_type (void) G_GNUC_CONST;
GInputStream * g_unix_input_stream_new (int fd,
gboolean close_fd_at_close);
GInputStream * g_unix_input_stream_new (gint fd,
gboolean close_fd);
void g_unix_input_stream_set_close_fd (GUnixInputStream *stream,
gboolean close_fd);
gboolean g_unix_input_stream_get_close_fd (GUnixInputStream *stream);
gint g_unix_input_stream_get_fd (GUnixInputStream *stream);
G_END_DECLS