Function

SecretServiceget

Declaration [src]

void
secret_service_get (
  SecretServiceFlags flags,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)

Description [src]

Get a SecretService proxy for the Secret Service.

If such a proxy object already exists, then the same proxy is returned.

If flags contains any flags of which parts of the secret service to ensure are initialized, then those will be initialized before completing.

This method will return immediately and complete asynchronously.

Parameters

flags

Type: SecretServiceFlags

Flags for which service functionality to ensure is initialized.

cancellable

Type: GCancellable

Optional cancellation object.

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

Type: GAsyncReadyCallback

Called when the operation completes.

user_data

Type: gpointer

Data to be passed to the callback.

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