Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
pwstorage.h
Go to the documentation of this file.
1/*
2 This file is part of darktable,
3 Copyright (C) 2010, 2012, 2014, 2016 Tobias Ellinghaus.
4 Copyright (C) 2011 johannes hanika.
5 Copyright (C) 2012 Richard Wonka.
6 Copyright (C) 2014 Moritz Lipp.
7 Copyright (C) 2022 Martin Baƙinka.
8
9 darktable is free software: you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation, either version 3 of the License, or
12 (at your option) any later version.
13
14 darktable is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18
19 You should have received a copy of the GNU General Public License
20 along with darktable. If not, see <http://www.gnu.org/licenses/>.
21*/
22
23// darktable is free software: you can redistribute it and/or modify
24// it under the terms of the GNU General Public License as published by
25// the Free Software Foundation, either version 3 of the License, or
26// (at your option) any later version.
27//
28// darktable is distributed in the hope that it will be useful,
29// but WITHOUT ANY WARRANTY; without even the implied warranty of
30// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
31// GNU General Public License for more details.
32//
33// You should have received a copy of the GNU General Public License
34// along with darktable. If not, see <http://www.gnu.org/licenses/>.
35
36#pragma once
37
38#include "common/darktable.h"
39
46
53
57void dt_pwstorage_destroy(const dt_pwstorage_t *pwstorage);
59gboolean dt_pwstorage_set(const gchar *slot, GHashTable *table);
61GHashTable *dt_pwstorage_get(const gchar *slot);
62
63// clang-format off
64// modelines: These editor modelines have been set for all relevant files by tools/update_modelines.py
65// vim: shiftwidth=2 expandtab tabstop=2 cindent
66// kate: tab-indents: off; indent-width 2; replace-tabs on; indent-mode cstyle; remove-trailing-spaces modified;
67// clang-format on
68
const dt_pwstorage_t * dt_pwstorage_new()
Definition pwstorage.c:61
pw_storage_backend_t
Definition pwstorage.h:41
@ PW_STORAGE_BACKEND_KWALLET
Definition pwstorage.h:43
@ PW_STORAGE_BACKEND_LIBSECRET
Definition pwstorage.h:44
@ PW_STORAGE_BACKEND_NONE
Definition pwstorage.h:42
GHashTable * dt_pwstorage_get(const gchar *slot)
Definition pwstorage.c:228
gboolean dt_pwstorage_set(const gchar *slot, GHashTable *table)
Definition pwstorage.c:204
void dt_pwstorage_destroy(const dt_pwstorage_t *pwstorage)
Definition pwstorage.c:182
Definition pwstorage.h:49
pw_storage_backend_t pw_storage_backend
Definition pwstorage.h:50
void * backend_context
Definition pwstorage.h:51