Constructor
PurpleNotificationAuthorizationRequestnew
unstable since: 3.0
Declaration [src]
PurpleNotification*
purple_notification_authorization_request_new (
const char* id,
PurpleAuthorizationRequest* request
)
Description [src]
Creates a new PurpleNotification for request.
Since PurpleAuthorizationRequest has a PurpleAccount,
PurpleNotification:account will automatically be set to that.
Available since: 3.0
Parameters
id-
Type:
const char*An identifier for the notification.
The argument can be NULL.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. request-
Type:
PurpleAuthorizationRequestThe authorization request instance.
The data is owned by the caller of the function.
Return value
Type: PurpleNotificationAuthorizationRequest
The new notification.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |