Debian Codegraph @

pkcs11/wrap-layer/gkm-wrap-login.h

raw
1 /*
2 * gnome-keyring
3 *
4 * Copyright (C) 2010 Stefan Walter
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU Lesser General Public License as
8 * published by the Free Software Foundation; either version 2.1 of
9 * the License, or (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this program; if not, see
18 * <http://www.gnu.org/licenses/>.
19 */
20
21 #ifndef __GKM_WRAP_LOGIN_H__
22 #define __GKM_WRAP_LOGIN_H__
23
24 #include <glib.h>
25
26 gboolean gkm_wrap_login_is_usable (void);
27
28 gboolean gkm_wrap_login_did_unlock_fail (void);
29
30 gchar* gkm_wrap_login_steal_failed_password (void);
31
32 void gkm_wrap_login_attach_secret (const gchar *label,
33 const gchar *secret,
34 const gchar *first,
35 ...);
36
37 gchar* gkm_wrap_login_lookup_secret (const gchar *first,
38 ...);
39
40 void gkm_wrap_login_remove_secret (const gchar *first,
41 ...);
42
43 #endif /* __GKM_WRAP_LOGIN_H__ */