555a7118d1534fceeb0552130adf80a1bbc9c07a
[profile/ivi/gsignond.git] / include / gsignond / gsignond-config-db.h
1 /* vi: set et sw=4 ts=4 cino=t0,(0: */
2 /* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 /*
4  * This file is part of gsignond
5  *
6  * Copyright (C) 2012 Intel Corporation.
7  *
8  * Contact: Amarnath Valluri <amarnath.valluri@linux.intel.com>
9  *
10  * This library is free software; you can redistribute it and/or
11  * modify it under the terms of the GNU Lesser General Public
12  * License as published by the Free Software Foundation; either
13  * version 2.1 of the License, or (at your option) any later version.
14  *
15  * This library is distributed in the hope that it will be useful, but
16  * WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18  * Lesser General Public License for more details.
19  *
20  * You should have received a copy of the GNU Lesser General Public
21  * License along with this library; if not, write to the Free Software
22  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
23  * 02110-1301 USA
24  */
25
26 #ifndef __GSIGNOND_CONFIG_DB_H_
27 #define __GSIGNOND_CONFIG_DB_H_
28
29 /**
30  * SECTION:gsignond-config-db
31  * @title: Database configuration
32  * @short_description: gSSO database configuration keys
33  * @include: gsignond/gsignond-config.h
34  *
35  * Database configuration keys are defined below. See #GSignondConfig for how to use them.
36  */
37
38 /**
39  * GSIGNOND_CONFIG_DB_SSO:
40  * 
41  * A prefix for database keys. Should be used only when defining new keys.
42  */
43 #define GSIGNOND_CONFIG_DB_SSO                  "Storage"
44 /**
45  * GSIGNOND_CONFIG_DB_SECRET_DB_FILENAME:
46  * 
47  * The filename of the credentials database.
48  * 
49  * Default value: "secret.db".
50  */
51 #define GSIGNOND_CONFIG_DB_SECRET_DB_FILENAME   GSIGNOND_CONFIG_DB_SSO \
52                                                 "/SecretDBFilename"
53 /**
54  * GSIGNOND_CONFIG_DB_METADATA_DB_FILENAME:
55  * 
56  * The filename of the metadata database.
57  * 
58  * Default value: "metadata.db".
59  */
60 #define GSIGNOND_CONFIG_DB_METADATA_DB_FILENAME GSIGNOND_CONFIG_DB_SSO \
61                                                 "/MetadataDBFilename"
62
63 #endif /* __GSIGNOND_DB_CONFIG_H_ */