Function

Purplegio_graceful_close

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: GIOStream

A GIOStream to close.

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

Type: GInputStream

A GInputStream which wraps streams input stream.

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

Type: GOutputStream

A GOutputStream which wraps streams output stream.

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