1 /* libsecret - GLib wrapper for Secret Service
3 * Copyright 2011 Collabora Ltd.
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU Lesser General Public License as published
7 * by the Free Software Foundation; either version 2.1 of the licence or (at
8 * your option) any later version.
10 * See the included COPYING file for more information.
12 * Author: Stef Walter <stefw@gnome.org>
15 #if !defined (__SECRET_INSIDE_HEADER__) && !defined (SECRET_COMPILATION)
16 #error "Only <libsecret/secret.h> can be included directly."
19 #ifndef __SECRET_TYPES_H__
20 #define __SECRET_TYPES_H__
26 #define SECRET_ERROR (secret_error_get_quark ())
28 GQuark
secret_error_get_quark (void) G_GNUC_CONST
;
31 SECRET_ERROR_PROTOCOL
= 1,
32 SECRET_ERROR_IS_LOCKED
= 2,
33 SECRET_ERROR_NO_SUCH_OBJECT
= 3,
34 SECRET_ERROR_ALREADY_EXISTS
= 4,
37 #define SECRET_COLLECTION_DEFAULT "default"
39 #define SECRET_COLLECTION_SESSION "session"
43 #endif /* __G_SERVICE_H___ */