Method

PurpleContactManageradd

unstable since: 3.0

Declaration [src]

void
purple_contact_manager_add (
  PurpleContactManager* manager,
  PurpleContact* contact
)

Description [src]

Adds contact to manager. If a contact with a matching account and id already exists, no action will be taken.

Available since: 3.0

Parameters

contact

Type: PurpleContact

The PurpleContact to add.

The data is owned by the caller of the method.