Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
backend_libsecret.h
Go to the documentation of this file.
1/*
2 This file is part of darktable,
3 Copyright (C) 2014 Moritz Lipp.
4 Copyright (C) 2014, 2016 Tobias Ellinghaus.
5 Copyright (C) 2022 Martin Baƙinka.
6
7 darktable is free software: you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation, either version 3 of the License, or
10 (at your option) any later version.
11
12 darktable is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with darktable. If not, see <http://www.gnu.org/licenses/>.
19*/
20
21#pragma once
22
23#include <glib.h>
24
26{
27 int placeholder; // we have to allocate one of these to signal that init didn't fail
29
36
43
53gboolean dt_pwstorage_libsecret_set(const backend_libsecret_context_t *context, const gchar *slot,
54 GHashTable *attributes);
55
64GHashTable *dt_pwstorage_libsecret_get(const backend_libsecret_context_t *context, const gchar *slot);
65
66// clang-format off
67// modelines: These editor modelines have been set for all relevant files by tools/update_modelines.py
68// vim: shiftwidth=2 expandtab tabstop=2 cindent
69// kate: tab-indents: off; indent-width 2; replace-tabs on; indent-mode cstyle; remove-trailing-spaces modified;
70// clang-format on
71
gboolean dt_pwstorage_libsecret_set(const backend_libsecret_context_t *context, const gchar *slot, GHashTable *attributes)
Definition backend_libsecret.c:85
const backend_libsecret_context_t * dt_pwstorage_libsecret_new()
Definition backend_libsecret.c:55
GHashTable * dt_pwstorage_libsecret_get(const backend_libsecret_context_t *context, const gchar *slot)
Definition backend_libsecret.c:129
void dt_pwstorage_libsecret_destroy(const backend_libsecret_context_t *context)
Definition backend_libsecret.c:80
Definition backend_libsecret.h:26
int placeholder
Definition backend_libsecret.h:27