Local file implementation of GFileIOStream and ops

This implements all the GIOStream file ops for local files.
We use the "fallback to output stream" for all GFileIOStream ops.
Some helpers stuff was added to the local input and output streams
so they could be reused.
This commit is contained in:
Alexander Larsson
2009-05-13 13:03:47 +02:00
parent 7a2d4889b5
commit 14d58d51a3
8 changed files with 385 additions and 16 deletions

View File

@@ -53,7 +53,10 @@ struct _GLocalFileInputStreamClass
GType _g_local_file_input_stream_get_type (void) G_GNUC_CONST;
GFileInputStream * _g_local_file_input_stream_new (int fd);
GFileInputStream *_g_local_file_input_stream_new (int fd);
void _g_local_file_input_stream_set_do_close (GLocalFileInputStream *in,
gboolean do_close);
G_END_DECLS