diff options
Diffstat (limited to 'src/dzl_setting.h')
-rw-r--r-- | src/dzl_setting.h | 91 |
1 files changed, 91 insertions, 0 deletions
diff --git a/src/dzl_setting.h b/src/dzl_setting.h new file mode 100644 index 0000000..5ec95f6 --- /dev/null +++ b/src/dzl_setting.h @@ -0,0 +1,91 @@ +/** + * @file dzl_setting.h + * @brief Generation of configuration for docker and images + + * Copyright (c) 2017 Samsung Electronics Co., Ltd. + * This software is the confidential and proprietary information + * of Samsung Electronics, Inc. ("Confidential Information"). You + * shall not disclose such Confidential Information and shall use + * it only in accordance with the terms of the license agreement + * you entered into with Samsung. + */ + +#ifndef __DZL_SETTING_H__ +#define __DZL_SETTING_H__ + +#pragma once + +#ifdef __cplusplus +extern "C" { +#endif + +#define FILE_CNT_MAX 10 +#define FILE_PATH_MAX 1024 + +/** + * @fn int dzl_setting_get_docker_info(char **dockerd_opt_cmd) + * @brief this function to get docker info + * @param **dockerd_opt_cmd [out] option for docker engine + * @return int result of fucntion + */ + int dzl_setting_get_docker_info(char **dockerd_opt_cmd); +/** + * @fn int dzl_setting_get_system_agent_info(container_create_info_s **create_info_p) + * @brief this function to get agent config info + * @param *create_info_p [out] agent service info from config + * @return int result of fucntion + */ + int dzl_setting_get_system_agent_info(container_create_info_s ** create_info_p); +/** + * @fn int dzl_setting_get_service_agent_info(container_create_info_s **create_info_p) + * @brief this function to get agent config info + * @param *create_info_p [out] agent service info from config + * @return int result of fucntion + */ + int dzl_setting_get_service_agent_info(container_create_info_s ** create_info_p); +/** + * @fn dzl_setting_get_image_load_info(image_load_info_s **load_info_p) + * @brief this function to get loading config info + * @param *load_info_p [out] loading info from config + * @return int result of fucntion + */ + int dzl_setting_get_image_load_info(image_load_info_s ** load_info_p); +/** + * @fn int dzl_setting_get_service_lists(container_create_info_s **lists) + * @brief this function to get service list + * @param **lists [out] services lists from config + * @return int result of fucntion + */ + int dzl_setting_get_service_lists(container_create_info_s ** lists); +/** + * @fn int dzl_setting_get_factory_init_done(void) + * @brief callback function to check status + * @return int result of fucntion + */ + int dzl_setting_get_factory_init_done(void); +/** + * @fn int dzl_setting_set_factory_init_done(int flag) + * @brief this function to set factory init + * @param flag [in] value for setting factory init + * @return int result of fucntion + */ + int dzl_setting_set_factory_init_done(int flag); +/** + * @fn int dzl_setting_get_pre_installed_file_cnt(void) + * @brief this function to get count of pre_installed files + * @return int result of fucntion + */ + int dzl_setting_get_pre_installed_file_cnt(void); +/** + * @fn int dzl_setting_get_pre_installed_filename(int index, char file_name[]) + * @brief this function to get file name of pre_installed files + * @param int [in] index of file + * @param char[] [out] file name of index + * @return int result of fucntion + */ + int dzl_setting_get_pre_installed_filename(int index, char file_name[]); + +#ifdef __cplusplus +} +#endif +#endif /* __DZL_SETTING_H__ */ |