Function
Purplegio_graceful_close
unstable since: 3.0
Declaration [src]
void
purple_gio_graceful_close (
GIOStream* stream,
GInputStream* input,
GOutputStream* output
)
Description [src]
Closes input, output, stream. If there are pending operations, it
asynchronously waits for the operations to finish before closing the
arguments. Ensure the Gio callbacks can safely handle this being done asynchronously.
Available since: 3.0
Parameters
stream-
Type:
GIOStreamA
GIOStreamto close.The data is owned by the caller of the function. input-
Type:
GInputStreamA
GInputStreamwhich wrapsstream‘s input stream.The argument can be NULL.The data is owned by the caller of the function. output-
Type:
GOutputStreamA
GOutputStreamwhich wrapsstream‘s output stream.The argument can be NULL.The data is owned by the caller of the function.