1
// This file is part of darktable
2
// Copyright (c) 2010 Henrik Andersson <hean01@users.sourceforge.net>.
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.
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.
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/>.
17
#ifndef __BACKEND_GNOME_KEYRING_H__
18
#define __BACKEND_GNOME_KEYRING_H__
20
#include "pwstorage.h"
22
typedef struct backend_gkeyring_context_t
25
} backend_gkeyring_context_t;
27
/** Initializes a new kwallet backend context. */
28
const backend_gkeyring_context_t* dt_pwstorage_gkeyring_new ();
29
/** Store (key,value) pairs. */
30
gboolean dt_pwstorage_gkeyring_set (const gchar* slot, GHashTable* table);
31
/** Load (key,value) pairs. */
32
GHashTable* dt_pwstorage_gkeyring_get (const gchar* slot);