Method

PurpleAccountadd_buddy

since: 2.0

Declaration [src]

void
purple_account_add_buddy (
  PurpleAccount* account,
  PurpleBuddy* buddy,
  const char* message
)

Description [src]

Adds a buddy to the server-side buddy list for the specified account.

Available since: 2.0

Parameters

buddy

Type: PurpleBuddy

The buddy to add.

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

Type: const char*

The invite message. This may be ignored by a protocol.

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