Method
PurpleContactManagerfind_with_id
unstable since: 3.0
Declaration [src]
PurpleContact*
purple_contact_manager_find_with_id (
PurpleContactManager* manager,
PurpleAccount* account,
const gchar* id
)
Description [src]
Looks for a PurpleContact that belongs to account with a id of id.
Available since: 3.0
Parameters
account-
Type:
PurpleAccountThe
PurpleAccountwhose contact to find.The data is owned by the caller of the method. id-
Type:
const gchar*The id of the contact to find.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string.
Return value
Type: PurpleContact
The PurpleContact if found, otherwise
NULL.
| The caller of the method takes ownership of the returned data, and is responsible for freeing it. |