Method
PurpleConnectionconnect_async
unstable since: 3.0
Declaration [src]
void
purple_connection_connect_async (
PurpleConnection* connection,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer data
)
Description [src]
Tells a connection to initiate a connection.
Available since: 3.0
This method completes asynchronously. Use purple_connection_connect_finish() inside the GAsyncReadyCallback to obtain the result of the operation.
Parameters
cancellable-
Type:
GCancellableThe cancellable.
The argument can be NULL.The data is owned by the caller of the method. callback-
Type:
GAsyncReadyCallbackThe optional callback.
The argument can be NULL. data-
Type:
gpointerThe user data to pass to the callback.
The argument can be NULL.The data is owned by the caller of the method.