Constructor

PurpleAddContactRequestnew

unstable since: 3.0

Declaration [src]

PurpleAddContactRequest*
purple_add_contact_request_new (
  PurpleContact* contact
)

Description [src]

Creates a new PurpleAddContactRequest for contact.

Available since: 3.0

Parameters

contact

Type: PurpleContact

The contact that is requesting to be added.

The data is owned by the caller of the function.

Return value

Type: PurpleAddContactRequest

The new instance.

The caller of the function takes ownership of the data, and is responsible for freeing it.