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,11 +64,14 @@ struct _GUnixOutputStreamClass
void (*_g_reserved5) (void);
};
GType g_unix_output_stream_get_type (void) G_GNUC_CONST;
GOutputStream * g_unix_output_stream_new (int fd,
gboolean close_fd_at_close);
GType g_unix_output_stream_get_type (void) G_GNUC_CONST;
GOutputStream * g_unix_output_stream_new (gint fd,
gboolean close_fd);
void g_unix_output_stream_set_close_fd (GUnixOutputStream *stream,
gboolean close_fd);
gboolean g_unix_output_stream_get_close_fd (GUnixOutputStream *stream);
gint g_unix_output_stream_get_fd (GUnixOutputStream *stream);
G_END_DECLS
#endif /* __G_UNIX_OUTPUT_STREAM_H__ */