~ubuntu-branches/ubuntu/saucy/darktable/saucy

« back to all changes in this revision

Viewing changes to src/common/pwstorage/backend_gkeyring.h

  • Committer: Bazaar Package Importer
  • Author(s): David Bremner
  • Date: 2011-04-14 23:42:12 UTC
  • Revision ID: james.westby@ubuntu.com-20110414234212-kuffcz5wiu18v6ra
Tags: upstream-0.8
ImportĀ upstreamĀ versionĀ 0.8

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// This file is part of darktable
 
2
// Copyright (c) 2010 Henrik Andersson <hean01@users.sourceforge.net>.
 
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
#ifndef __BACKEND_GNOME_KEYRING_H__
 
18
#define __BACKEND_GNOME_KEYRING_H__
 
19
 
 
20
#include "pwstorage.h"
 
21
 
 
22
typedef struct backend_gkeyring_context_t
 
23
{
 
24
  char dummy;
 
25
} backend_gkeyring_context_t;
 
26
 
 
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);
 
33
 
 
34
#endif