Method

PurpleAccountget_status

Declaration [src]

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

Description [src]

Returns the account status with the specified ID.

Parameters

status_id 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

Returns: PurpleStatus
 

The status, or NULL if it was never registered.

 The data is owned by the instance.