• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2021 Huawei Device Co., Ltd.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 /**
17  * @addtogroup dbm_config
18  * @{
19  *
20  * @brief Represents the configuration file of the dbm subsystem.
21  *
22  * Vendors can set their desired items in the configuration file.
23  *
24  * @since 1.0
25  * @version 1.0
26  */
27 
28 /**
29  * @file dbm_config.h
30  *
31  * @brief Represents the configuration file of the dbm subsystem.
32  *
33  * Vendors can set their desired items in the configuration file.
34  *
35  * @since 1.0
36  * @version 1.0
37  */
38 
39 #ifndef DBM_CONFIG_H
40 #define DBM_CONFIG_H
41 
42 /**
43  * @brief Indicates the number of data items that can be stored for each application.
44  * It depends on the remaining capacity limit of the file system.
45  * It is recommended to be set to 90 percent of the remaining capacity
46  *
47  * Default value: 45
48  */
49 #ifndef DBM_MAX_KV_SUM
50 #define DBM_MAX_KV_SUM 45
51 #endif
52 
53 #endif  // DBM_CONFIG_H
54 /** @} */
55