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.
This function completes asynchronously. Use secret_collection_for_alias_finish() inside the GAsyncReadyCallback to obtain the result of the operation.
Parameters
service-
Type:
SecretServiceA secret service object.
The argument can be NULL.The data is owned by the caller of the function. alias-
Type:
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-
Type:
SecretCollectionFlagsOptions for the collection initialization.
cancellable-
Type:
GCancellableOptional cancellation object.
The argument can be NULL.The data is owned by the caller of the function. callback-
Type:
GAsyncReadyCallbackCalled when the operation completes.
user_data-
Type:
gpointerData to pass to the callback.
The argument can be NULL.The data is owned by the caller of the function.