Top | ![]() |
![]() |
![]() |
![]() |
GMimeStream *
g_mime_stream_pipe_new (int fd
);
Creates a new GMimeStreamPipe object around fd
.
gboolean
g_mime_stream_pipe_get_owner (GMimeStreamPipe *stream
);
Gets whether or not stream
owns the backend pipe descriptor.
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.