Method

PurpleCredentialManagerwrite_password_async

since: 3.0

Declaration [src]

void
purple_credential_manager_write_password_async (
  PurpleCredentialManager* manager,
  PurpleAccount* account,
  const char* password,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer data
)

Description [src]

Writes password for account to the active provider of manager.

Available since: 3.0

Parameters

account

Type: PurpleAccount

The account whose password to write.

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

Type: const char*

The password to write.

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

Type: GCancellable

Optional cancellable.

The argument can be NULL.
The data is owned by the caller of the function.
callback

Type: GAsyncReadyCallback

The callback to call when the request is satisfied.

The argument can be NULL.
data

Type: gpointer

User data to pass to callback.

The argument can be NULL.
The data is owned by the caller of the function.