Function
SecretCollectionnew_for_dbus_path
Declaration [src]
void
secret_collection_new_for_dbus_path (
SecretService* service,
const gchar* collection_path,
SecretCollectionFlags flags,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description [src]
Get a new collection proxy for a collection in the secret service.
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.
Stability: Unstable
This function completes asynchronously. Use secret_collection_new_for_dbus_path_finish() inside the GAsyncReadyCallback to obtain the result of the operation.
This function is not directly available to language bindings.
Parameters
service-
Type:
SecretServiceA secret service object.
The argument can be NULL.The data is owned by the caller of the function. collection_path-
Type:
const gchar*The D-Bus path of the collection.
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 be passed to the callback.
The argument can be NULL.The data is owned by the caller of the function.