# global_cust_lite
**Repository Path**: vmalloc/global_cust_lite
## Basic Information
- **Project Name**: global_cust_lite
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: Apache-2.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 71
- **Created**: 2022-06-29
- **Last Updated**: 2022-06-29
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# 定制框架组件介绍
- [简介](#section1881113251316)
- [目录](#section196561842161316)
- [说明](#section1799421112165)
- [约束](#section1811111510182)
- [相关仓](#section170262901818)
## 简介
**定制框架组件**为各业务模块提供获取各配置层级的配置目录或配置文件路径的接口。
## 目录
定制框架组件源代码目录结构如下所示:
```
/base/global/
├── cust_lite # 定制框架代码仓
│ ├── frameworks # 定制框架核心代码
│ │ ├── cust_lite # 定制框架模块
│ │ │ ├── src # 实现代码
│ │ │ └── test # 测试代码
│ ├── interfaces # 定制框架接口
│ │ ├── innerkits # 定制框架子系统间接口
│ │ └── js # 定制框架JavaScript接口
```
## 说明
调用该组件中的接口获取各配置层级的配置目录或配置文件路径。
```cpp
#include
#include "cust_utils.h"
const char *testPathSuffix = "user.xml"; //设置配置文件名称
char buf[MAX_PATH_LEN];
char *filePath = GetOneCfgFile(testPathSuffix, CUST_TYPE_CONFIG, buf, MAX_PATH_LEN); //获取最高优先级的配置文件路径
```
## 约束
**语言限制**:C/C++语言
## 相关仓
[全球化子系统](https://gitee.com/openharmony/docs/blob/master/zh-cn/readme/%E5%85%A8%E7%90%83%E5%8C%96%E5%AD%90%E7%B3%BB%E7%BB%9F.md)
[global\_resmgr\_lite](https://gitee.com/openharmony/global_resmgr_lite/blob/master/README_zh.md)
[global\_i18n\_lite](https://gitee.com/openharmony/global_i18n_lite/blob/master/README_zh.md)
**global\_cust\_lite**