Method

PurpleAccountget_status

since: 2.0.0

Declaration [src]

PurpleStatus*
purple_account_get_status (
  PurpleAccount* account,
  const char* status_id
)

Description [src]

Returns the account status with the specified ID.

Available since: 2.0.0

Parameters

status_id

Type: const char*

The status ID.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: PurpleStatus

The status, or NULL if it was never registered.

The data is owned by the instance.