Virtual Method

PurpleConnectiondisconnect_async

unstable since: 3.0

Declaration [src]

void
disconnect_async (
  PurpleConnection* connection,
  const char* message,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer data
)

Description [src]

Tells the connection to disconnect.

Available since: 3.0

Parameters

message

Type: const char*

An optional disconnect message.

The argument can be NULL.
The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
cancellable

Type: GCancellable

The cancellable.

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

Type: GAsyncReadyCallback

The optional callback.

data

Type: gpointer

The user data to pass to the callback.

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