Function

Purpleblist_find_chat

since: 2.0

Declaration [src]

PurpleChat*
purple_blist_find_chat (
  PurpleAccount* account,
  const char* name
)

Description [src]

Finds a chat by name.

Available since: 2.0

Parameters

account

Type: PurpleAccount

The chat’s account.

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

Type: const char*

The chat’s name.

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

Return value

Type: PurpleChat

The chat, or NULL if the chat does not exist.

The data is owned by the called function.