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