![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include <glib.h>
Go to the source code of this file.
Data Structures | |
struct | backend_libsecret_context_t |
Typedefs | |
typedef struct backend_libsecret_context_t | backend_libsecret_context_t |
Functions | |
const backend_libsecret_context_t * | dt_pwstorage_libsecret_new () |
void | dt_pwstorage_libsecret_destroy (const backend_libsecret_context_t *context) |
gboolean | dt_pwstorage_libsecret_set (const backend_libsecret_context_t *context, const gchar *slot, GHashTable *attributes) |
GHashTable * | dt_pwstorage_libsecret_get (const backend_libsecret_context_t *context, const gchar *slot) |
typedef struct backend_libsecret_context_t backend_libsecret_context_t |
void dt_pwstorage_libsecret_destroy | ( | const backend_libsecret_context_t * | context | ) |
Destroys the libsecret backend context.
context | The libsecret context |
Referenced by dt_pwstorage_destroy(), and dt_pwstorage_libsecret_new().
GHashTable * dt_pwstorage_libsecret_get | ( | const backend_libsecret_context_t * | context, |
const gchar * | slot | ||
) |
Loads (key, value) pairs
context | The libsecret context |
slot | The name of the slot |
References EMPTY_STRING, error(), PACKAGE_NAME, SECRET_SCHEMA_DARKTABLE, and secret_to_attributes().
Referenced by dt_pwstorage_get().
const backend_libsecret_context_t * dt_pwstorage_libsecret_new | ( | ) |
Initializes a new libsecret backend context.
References dt_pwstorage_libsecret_destroy(), and error().
Referenced by dt_pwstorage_new().
gboolean dt_pwstorage_libsecret_set | ( | const backend_libsecret_context_t * | context, |
const gchar * | slot, | ||
GHashTable * | attributes | ||
) |
Store (key,value) pairs.
context | The libsecret context |
slot | The name of the slot |
attributes | List of (key,value) pairs |
References attributes_to_secret(), EMPTY_STRING, error(), FALSE, PACKAGE_NAME, SECRET_COLLECTION_DARKTABLE, and SECRET_SCHEMA_DARKTABLE.
Referenced by dt_pwstorage_set().