Top | ![]() |
![]() |
![]() |
![]() |
MirageFileStream is a basic unit of file access abstraction used in libMirage. It implements MirageStream interface to perform I/O operations.
A MirageFileStream is found at the bottom of all filter chains used by libMirage's image parsers and writers.
gboolean mirage_file_stream_open (MirageFileStream *self
,const gchar *filename
,gboolean writable
,GError **error
);
Opens the stream on the file pointed to by filename
. If writable
is FALSE
, the stream is opened in read-only mode; if writable
is
TRUE
, the stream is opened in read-write mode.
struct MirageFileStream;
All the fields in the MirageFileStream structure are private to the MirageFileStream implementation and should never be accessed directly.