Function
SecretCollectionfor_alias
Declaration [src]
void
secret_collection_for_alias (
SecretService* service,
const gchar* alias,
SecretCollectionFlags flags,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description [src]
Lookup which collection is assigned to this alias. Aliases help determine well known collections, such as ‘default’.
If service
is NULL
, then secret_service_get()
will be called to get the
default SecretService
proxy.
This method will return immediately and complete asynchronously.
Parameters
service |
SecretService |
A secret service object. |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
alias |
const gchar* |
The alias to lookup. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
flags |
SecretCollectionFlags |
Options for the collection initialization. |
|
cancellable |
GCancellable |
Optional cancellation object. |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
callback |
GAsyncReadyCallback |
Called when the operation completes. |
|
user_data |
gpointer |
Data to pass to the callback. |
|
The argument can be NULL . | |
The data is owned by the caller of the function. |