Core configuration module header file. More...
#include "mcl_core/mcl_core_common.h"
Go to the source code of this file.
Data Structures | |
struct | core_configuration_t |
Functions | |
MCL_LOCAL mcl_error_t | core_configuration_validate (core_configuration_t *configuration) |
MCL_LOCAL void | core_configuration_log (core_configuration_t *configuration) |
Core configuration module header file.
This module contains type definition of core configuration.
Definition in file core_configuration.h.
MCL_LOCAL void core_configuration_log | ( | core_configuration_t * | configuration | ) |
This function is used to log core configuration which is used to initialize core.
[in] | configuration | Core configuration to log. |
Definition at line 277 of file core_configuration.c.
References core_configuration_t::credentials_load_callback, core_configuration_t::credentials_save_callback, core_configuration_t::critical_section_enter_callback, core_configuration_t::critical_section_leave_callback, core_configuration_t::http_request_timeout, core_configuration_t::initial_access_token, MCL_DEBUG_ENTRY, MCL_DEBUG_LEAVE, MCL_INFO, MCL_NULL, MCL_PROXY_HTTP, MCL_PROXY_HTTP_1_0, MCL_PROXY_SOCKS4, MCL_PROXY_SOCKS4A, MCL_PROXY_SOCKS5, MCL_PROXY_SOCKS5_HOSTNAME, MCL_SECURITY_SHARED_SECRET, core_configuration_t::mindsphere_certificate, core_configuration_t::mindsphere_hostname, core_configuration_t::mindsphere_port, core_configuration_t::proxy_domain, core_configuration_t::proxy_hostname, core_configuration_t::proxy_password, core_configuration_t::proxy_port, core_configuration_t::proxy_type, core_configuration_t::proxy_username, mcl_credentials_load_callback_t::rsa, mcl_credentials_save_callback_t::rsa, core_configuration_t::security_profile, core_configuration_t::tenant, and core_configuration_t::user_agent.
Referenced by mcl_core_initialize().
MCL_LOCAL mcl_error_t core_configuration_validate | ( | core_configuration_t * | configuration | ) |
This function checks whether all mandatory parameters of a core configuration are set or not.
[in] | configuration | Core configuration to validate. |
Definition at line 196 of file core_configuration.c.
References MAXIMUM_HOST_NAME_LENGTH, MAXIMUM_PROXY_DOMAIN_LENGTH, MAXIMUM_PROXY_PASSWORD_LENGTH, MAXIMUM_PROXY_USER_NAME_LENGTH, MAXIMUM_USER_AGENT_LENGTH, MCL_ASSERT_CODE, MCL_DEBUG_ENTRY, MCL_DEBUG_LEAVE, MCL_INVALID_PARAMETER, MCL_NULL, MCL_OK, core_configuration_t::mindsphere_hostname, core_configuration_t::proxy_domain, core_configuration_t::proxy_hostname, core_configuration_t::proxy_password, core_configuration_t::proxy_username, string_util_strnlen(), core_configuration_t::tenant, and core_configuration_t::user_agent.
Referenced by mcl_core_initialize().