secret_collection_delete_finish
secret_collection_delete_sync
secret_collection_get_created
+secret_collection_get_service
secret_collection_get_items
secret_collection_get_label
secret_collection_set_label
secret_item_set_label_sync
secret_item_get_locked
secret_item_get_modified
+secret_item_get_service
secret_item_get_secret
secret_item_get_secret_finish
secret_item_get_secret_sync
}
/**
+ * secret_collection_get_service:
+ * @self: a collection
+ *
+ * Get the Secret Service object that this collection was created with.
+ *
+ * Returns: (transfer none): the Secret Service object
+ */
+SecretService *
+secret_collection_get_service (SecretCollection *self)
+{
+ g_return_val_if_fail (SECRET_IS_COLLECTION (self), NULL);
+ return self->pv->service;
+}
+
+/**
* secret_collection_get_items:
* @self: a collection
*
GCancellable *cancellable,
GError **error);
+SecretService * secret_collection_get_service (SecretCollection *self);
+
GList * secret_collection_get_items (SecretCollection *self);
gchar * secret_collection_get_label (SecretCollection *self);
return ret;
}
+/**
+ * secret_item_get_service:
+ * @self: an item
+ *
+ * Get the Secret Service object that this item was created with.
+ *
+ * Returns: (transfer none): the Secret Service object
+ */
+SecretService *
+secret_item_get_service (SecretItem *self)
+{
+ g_return_val_if_fail (SECRET_IS_COLLECTION (self), NULL);
+ return self->pv->service;
+}
+
+
typedef struct {
GCancellable *cancellable;
SecretValue *value;
GCancellable *cancellable,
GError **error);
+SecretService * secret_item_get_service (SecretItem *self);
+
void secret_item_get_secret (SecretItem *self,
GCancellable *cancellable,
GAsyncReadyCallback callback,