Method

PurpleProtocolRosterupdate_async

since: 3.0

Declaration [src]

void
purple_protocol_roster_update_async (
  PurpleProtocolRoster* roster,
  PurpleAccount* account,
  PurpleContact* contact,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer data
)

Description [src]

Requests that roster updates contact on the server side roster. When callback is called, purple_protocol_roster_update_finish() should be called to get the result.

This would include things that the libpurple user can change about a remote contact. Including but not limited to PurpleContactInfo:alias, PurpleContactInfo:permission, PurpleContactInfo:person, and PurpleContactInfo:tags.

Available since: 3.0

Parameters

account

Type: PurpleAccount

The PurpleAccount to use.

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

Type: PurpleContact

The PurpleContact to update.

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

Type: GCancellable

A GCancellable.

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 has completed.

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.