source: trunk/third/gnome-keyring/gnome-keyring-private.h @ 21094

Revision 21094, 1.8 KB checked in by ghudson, 20 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r21093, which included commits to RCS files with non-trunk default branches.
RevLine 
[21093]1/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
2/* gnome-keyring-private.h - private header for keyring
3
4   Copyright (C) 2003 Red Hat, Inc
5
6   The Gnome Keyring Library is free software; you can redistribute it and/or
7   modify it under the terms of the GNU Library General Public License as
8   published by the Free Software Foundation; either version 2 of the
9   License, or (at your option) any later version.
10
11   The Gnome Keyring Library is distributed in the hope that it will be useful,
12   but WITHOUT ANY WARRANTY; without even the implied warranty of
13   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14   Library General Public License for more details.
15
16   You should have received a copy of the GNU Library General Public
17   License along with the Gnome Library; see the file COPYING.LIB.  If not,
18   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19   Boston, MA 02111-1307, USA.
20
21   Author: Alexander Larsson <alexl@redhat.com>
22*/
23
24#ifndef GNOME_KEYRING_PRIVATE_H
25#define GNOME_KEYRING_PRIVATE_H
26
27#include "gnome-keyring.h"
28
29struct GnomeKeyringApplicationRef {
30        char *display_name;
31        char *pathname;
32};
33
34struct GnomeKeyringAccessControl {
35        GnomeKeyringApplicationRef *application; /* null for all */
36        GnomeKeyringAccessType types_allowed;
37};
38
39struct GnomeKeyringInfo {
40        gboolean lock_on_idle;
41        guint32 lock_timeout;
42        time_t mtime;
43        time_t ctime;
44        gboolean is_locked;
45};
46
47struct GnomeKeyringItemInfo {
48        GnomeKeyringItemType type;
49        char *display_name;
50        char *secret;
51        time_t mtime;
52        time_t ctime;
53};
54
55typedef enum {
56        GNOME_KEYRING_ASK_RESPONSE_FAILURE,
57        GNOME_KEYRING_ASK_RESPONSE_DENY,
58        GNOME_KEYRING_ASK_RESPONSE_ALLOW_ONCE,
59        GNOME_KEYRING_ASK_RESPONSE_ALLOW_FOREVER,
60} GnomeKeyringAskResponse;
61
62
63#endif /* GNOME_KEYRING_PRIVATE_H */
Note: See TracBrowser for help on using the repository browser.