Function

Purplegio_graceful_close

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.

Parameters

stream GIOStream
 

A GIOStream to close.

 The data is owned by the caller of the function.
input GInputStream
 

A GInputStream which wraps streams input stream.

 The argument can be NULL.
 The data is owned by the caller of the function.
output GOutputStream
 

A GOutputStream which wraps streams output stream.

 The argument can be NULL.
 The data is owned by the caller of the function.