Function

PurpleProtocolget_statuses

since: 3.0

Declaration [src]

GList*
purple_protocol_get_statuses (
  PurpleAccount* account,
  PurplePresence* presence
)

Description [src]

Retrieves the list of stock status types from a protocol.

Available since: 3.0

Parameters

account

Type: PurpleAccount

The account the user is on.

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

Type: PurplePresence

The presence for which we’re going to get statuses.

The data is owned by the caller of the function.

Return value

Type: A list of PurpleStatus*

List of statuses.

The caller of the function takes ownership of the data, and is responsible for freeing it.