# global_cust_lite **Repository Path**: luckyleejin/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**: 2021-04-14 - **Last Updated**: 2021-04-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # cust - [Introduction](#section1881113251316) - [Directory Structure](#section196561842161316) - [Usage](#section1799421112165) - [Constraints](#section1811111510182) - [Repositories Involved](#section170262901818) ## Introduction The customization framework, namely, cust, provides APIs for each service module to obtain the configuration directories at different levels or the configuration file paths. ## Directory Structure The directory structure for the customization framework is as follows: ``` /base/global/ ├── cust_lite # Code repository for the customization framework │ ├── frameworks # Core code of the customization framework │ │ ├── cust_lite # Customization framework │ │ │ ├── src # Implementation code │ │ │ └── test # Test code │ ├── interfaces # APIs of the customization framework │ │ └── innerkits # APIs of the customization framework for internal subsystems ``` ## Usage Call the APIs of the customization framework to obtain the configuration directories at different levels or the configuration file paths. ``` #include #include "cust_utils.h" const char *testPathSuffix = "user.xml"; // Set the name of the configuration file. char buf[MAX_PATH_LEN]; char *filePath = GetOneCfgFile(testPathSuffix, CUST_TYPE_CONFIG, buf, MAX_PATH_LEN); // Obtain the path of the configuration file with the highest priority. ``` ## Constraints **Programming language**: C/C++ ## Repositories Involved [Globalization subsystem](https://gitee.com/openharmony/docs/blob/master/en/readme/globalization.md) [global\_resmgr\_lite](https://gitee.com/openharmony/global_resmgr_lite/blob/master/README.md) [global\_i18n\_lite](https://gitee.com/openharmony/global_i18n_lite/blob/master/README.md) global\_cust\_lite