Constructor

PurpleAuthorizationRequestnew

since: 3.0

Declaration [src]

PurpleAuthorizationRequest*
purple_authorization_request_new (
  PurpleAccount* account,
  const gchar* username
)

Description [src]

Creates a new PurpleAuthorizationRequest for username on account.

This is typically only used by libpurple itself.

Available since: 3.0

Parameters

account

Type: PurpleAccount

The account that this request is for.

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

Type: const gchar*

The username of the user requesting authorization.

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

Return value

Type: PurpleAuthorizationRequest

The new instance.

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