Function

PurpleProtocolget_statuses

Declaration [src]

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

Description [src]

Retrieves the list of stock status types from a protocol.

Parameters

account PurpleAccount
 

The account the user is on.

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

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

 The data is owned by the caller of the function.

Return value

Returns: A list of PurpleStatus*
 

List of statuses.

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