Method

PurpleAccountget_status_type

since: 2.0

Declaration [src]

PurpleStatusType*
purple_account_get_status_type (
  PurpleAccount* account,
  const char* id
)

Description [src]

Returns the account status type with the specified ID.

Available since: 2.0

Parameters

id

Type: const char*

The ID of the status type to find.

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

Return value

Type: PurpleStatusType

The status type if found, or NULL.

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