Delete unused downloads page asset.
[chromium-blink-merge.git] / third_party / libsecret / secret-types.h
blob708c53f82a856f83ca659d955b1d4b6bc4d6aa86
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."
17 #endif
19 #ifndef __SECRET_TYPES_H__
20 #define __SECRET_TYPES_H__
22 #include <glib.h>
24 G_BEGIN_DECLS
26 #define SECRET_ERROR (secret_error_get_quark ())
28 GQuark secret_error_get_quark (void) G_GNUC_CONST;
30 typedef enum {
31 SECRET_ERROR_PROTOCOL = 1,
32 SECRET_ERROR_IS_LOCKED = 2,
33 SECRET_ERROR_NO_SUCH_OBJECT = 3,
34 SECRET_ERROR_ALREADY_EXISTS = 4,
35 } SecretError;
37 #define SECRET_COLLECTION_DEFAULT "default"
39 #define SECRET_COLLECTION_SESSION "session"
41 G_END_DECLS
43 #endif /* __G_SERVICE_H___ */