Function

Purpleblist_add_chat

Declaration [src]

void
purple_blist_add_chat (
  PurpleChat* chat,
  PurpleGroup* group,
  PurpleBlistNode* node
)

Description [src]

Adds a new chat to the buddy list.

The chat will be inserted right after node or appended to the end of group if node is NULL. If both are NULL, the buddy will be added to the “Chats” group.

Parameters

chat PurpleChat
 

The new chat who gets added.

 The data is owned by the caller of the function.
group PurpleGroup
 

The group to add the new chat to.

 The data is owned by the caller of the function.
node PurpleBlistNode
 

The insertion point.

 The data is owned by the caller of the function.