Function

Purpleblist_find_buddy_in_group

Declaration [src]

PurpleBuddy*
purple_blist_find_buddy_in_group (
  PurpleAccount* account,
  const char* name,
  PurpleGroup* group
)

Description [src]

Finds the buddy struct given a name, an account, and a group.

Parameters

account

Type: PurpleAccount

The account this buddy belongs to.

The data is owned by the caller of the function.
name

Type: const char*

The buddy’s name.

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

Type: PurpleGroup

The group to look in.

The data is owned by the caller of the function.

Return value

Type: PurpleBuddy

The buddy or NULL if the buddy does not exist in the group.

The data is owned by the called function.