Method

PurpleContactManageradd_person

since: 3.0

Declaration [src]

void
purple_contact_manager_add_person (
  PurpleContactManager* manager,
  PurplePerson* person
)

Description [src]

Adds all of the contacts contained in person to manager.

This function is mostly intended for unit testing and importing. You typically you won’t need to call this directly as manager will automatically add the PurplePerson instance when purple_contact_manager_add() is called.

Available since: 3.0

Parameters

person

Type: PurplePerson

The [class@Purple.Person to add].

The data is owned by the caller of the function.