Top |
Functions
GMimeStream * | g_mime_stream_pipe_new () |
gboolean | g_mime_stream_pipe_get_owner () |
void | g_mime_stream_pipe_set_owner () |
Functions
g_mime_stream_pipe_new ()
GMimeStream *
g_mime_stream_pipe_new (int fd
);
Creates a new GMimeStreamPipe object around fd
.
g_mime_stream_pipe_get_owner ()
gboolean
g_mime_stream_pipe_get_owner (GMimeStreamPipe *stream
);
Gets whether or not stream
owns the backend pipe descriptor.
g_mime_stream_pipe_set_owner ()
void g_mime_stream_pipe_set_owner (GMimeStreamPipe *stream
,gboolean owner
);
Sets whether or not stream
owns the backend pipe descriptor.
Note: owner
should be TRUE
if the stream should close()
the
backend pipe descriptor when destroyed or FALSE
otherwise.