Method

SecretServicesearch_for_dbus_paths

Declaration [src]

void
secret_service_search_for_dbus_paths (
  SecretService* self,
  const SecretSchema* schema,
  GHashTable* attributes,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)

Description [src]

Search for items matching the attributes, and return their D-Bus object paths.

All collections are searched. The attributes should be a table of string keys and string values.

This function returns immediately and completes asynchronously.

When your callback is called use secret_service_search_for_dbus_paths_finish() to get the results of this function. Only the D-Bus object paths of the items will be returned. If you would like SecretItem objects to be returned instead, then use the secret_service_search() function.

Stability:Unstable
This method is not directly available to language bindings.

Parameters

schema SecretSchema
 

The schema for the attributes.

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

Search for items matching these attributes.

 The data is owned by the caller of the function.
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.

 The argument can be NULL.
user_data gpointer
 

Data to pass to the callback.

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