Function

Purpleblist_find_chat

Declaration [src]

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

Description [src]

Finds a chat by name.

Parameters

account PurpleAccount
 

The chat’s account.

 The data is owned by the caller of the function.
name 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

Returns: PurpleChat
 

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

 The data is owned by the called function.