Method

PurpleAccountManagerfind_by_id

unstable since: 3.0

Declaration [src]

PurpleAccount*
purple_account_manager_find_by_id (
  PurpleAccountManager* manager,
  const char* id
)

Description [src]

Looks up an account based on its id property.

Available since: 3.0

Parameters

id

Type: const char*

The id of the account.

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

Return value

Type: PurpleAccount

The account if found, otherwise NULL.

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