Top |
Functions
GMimeStream * | g_mime_stream_gio_new () |
GMimeStream * | g_mime_stream_gio_new_with_bounds () |
gboolean | g_mime_stream_gio_get_owner () |
void | g_mime_stream_gio_set_owner () |
Description
A simple GMimeStream implementation that sits on top of GLib's GIO input and output streams.
Functions
g_mime_stream_gio_new ()
GMimeStream *
g_mime_stream_gio_new (GFile *file
);
Creates a new GMimeStreamGIO wrapper around a GFile object.
g_mime_stream_gio_new_with_bounds ()
GMimeStream * g_mime_stream_gio_new_with_bounds (GFile *file
,gint64 start
,gint64 end
);
Creates a new GMimeStreamGIO stream around a GFile with bounds
start
and end
.
g_mime_stream_gio_get_owner ()
gboolean
g_mime_stream_gio_get_owner (GMimeStreamGIO *stream
);
Gets whether or not stream
owns the backend GFile.
g_mime_stream_gio_set_owner ()
void g_mime_stream_gio_set_owner (GMimeStreamGIO *stream
,gboolean owner
);
Sets whether or not stream
owns the backend GIO pointer.
Note: owner
should be TRUE
if the stream should close()
the
backend file descriptor when destroyed or FALSE
otherwise.
Parameters
stream |
a GMimeStreamGIO stream |
|
owner |
|