Constructor

PurpleAuthorizationRequestnew

unstable since: 3.0

Declaration [src]

PurpleAuthorizationRequest*
purple_authorization_request_new (
  PurpleContact* contact
)

Description [src]

Creates a new PurpleAuthorizationRequest for contact.

This is typically only used by libpurple itself.

Available since: 3.0

Parameters

contact

Type: PurpleContact

The contact of the user requesting authorization.

The data is owned by the caller of the function.

Return value

Type: PurpleAuthorizationRequest

The new instance.

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