Method

PurpleProtocolContactsget_profile_async

since: 3.0

Declaration [src]

void
purple_protocol_contacts_get_profile_async (
  PurpleProtocolContacts* protocol_contacts,
  PurpleContactInfo* info,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer data
)

Description [src]

Starts the process requesting the user profile for info.

Call purple_protocol_contacts_get_profile_finish() to get the results.

Available since: 3.0

Parameters

info

Type: PurpleContactInfo

The PurpleContactInfo whose profile to get.

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

Type: GCancellable

Optional GCancellable object, NULL to ignore.

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

Type: GAsyncReadyCallback

A GAsyncReadyCallback to call when the request is satisfied.

The argument can be NULL.
data

Type: gpointer

User data to pass to callback.

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