Method

PurpleAccountget_status_type

Declaration [src]

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

Description [src]

Returns the account status type with the specified ID.

Parameters

id 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

Returns: PurpleStatusType
 

The status type if found, or NULL.

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