#include <mcl_core/src/core_configuration.h>
Data Fields | |
char * | mindsphere_hostname |
Mindsphere hostname. More... | |
mcl_uint16_t | mindsphere_port |
Mindsphere port number. More... | |
char * | mindsphere_certificate |
Mindsphere certificate. Optional. If NULL, MCL will use default CA certificate store (if provided at build-time) for peer verification. More... | |
mcl_bool_t | certificate_is_file |
Flag to check if certificate is given as file or string. More... | |
char * | proxy_hostname |
Proxy hostname. Optional. More... | |
mcl_uint16_t | proxy_port |
Proxy port number. Mandatory if proxy host name is set, ineffective otherwise. More... | |
E_MCL_PROXY | proxy_type |
Proxy type E_MCL_PROXY. Mandatory if proxy host name is set, ineffective otherwise. More... | |
char * | proxy_username |
Proxy username. Optional if proxy host name is set, ineffective otherwise. More... | |
char * | proxy_password |
Proxy password. Mandatory if proxy host name and proxy username are set, ineffective otherwise. More... | |
char * | proxy_domain |
Proxy domain. Optional if proxy host name and proxy username are set, ineffective otherwise. More... | |
E_MCL_SECURITY_PROFILE | security_profile |
Security profile E_MCL_SECURITY_PROFILE. More... | |
mcl_uint32_t | http_request_timeout |
Timeout value (in seconds) for HTTP requests. Default timeout is 300 seconds. More... | |
char * | user_agent |
User agent. More... | |
char * | initial_access_token |
Initial access token. More... | |
char * | register_endpoint |
Uri for register endpoint. More... | |
char * | token_endpoint |
Uri for token endpoint. More... | |
char * | tenant |
Tenant name. More... | |
mcl_credentials_load_callback_t | credentials_load_callback |
Custom function for loading credentials. If both credentials_load_callback and credentials_save_callback are non-null, custom functions will be used. More... | |
mcl_credentials_save_callback_t | credentials_save_callback |
Custom function for saving credentials. If both credentials_load_callback and credentials_save_callback are non-null, custom functions will be used. More... | |
mcl_critical_section_enter_callback_t | critical_section_enter_callback |
Custom function for entering critical section (optional, default is NULL). More... | |
mcl_critical_section_leave_callback_t | critical_section_leave_callback |
Custom function for leaving critical section (optional, default is NULL). More... | |
This struct is used for building core configuration structure.
Definition at line 19 of file core_configuration.h.
mcl_bool_t core_configuration_t::certificate_is_file |
Flag to check if certificate is given as file or string.
Definition at line 24 of file core_configuration.h.
Referenced by core_processor_initialize().
mcl_credentials_load_callback_t core_configuration_t::credentials_load_callback |
Custom function for loading credentials. If both credentials_load_callback and credentials_save_callback are non-null, custom functions will be used.
Definition at line 38 of file core_configuration.h.
Referenced by _custom_load_register_info(), _save_credentials(), core_configuration_log(), and core_processor_update_credentials().
mcl_credentials_save_callback_t core_configuration_t::credentials_save_callback |
Custom function for saving credentials. If both credentials_load_callback and credentials_save_callback are non-null, custom functions will be used.
Definition at line 39 of file core_configuration.h.
Referenced by _save_credentials(), core_configuration_log(), and core_processor_update_credentials().
mcl_critical_section_enter_callback_t core_configuration_t::critical_section_enter_callback |
Custom function for entering critical section (optional, default is NULL).
Definition at line 40 of file core_configuration.h.
Referenced by core_configuration_log().
mcl_critical_section_leave_callback_t core_configuration_t::critical_section_leave_callback |
Custom function for leaving critical section (optional, default is NULL).
Definition at line 41 of file core_configuration.h.
Referenced by core_configuration_log().
mcl_uint32_t core_configuration_t::http_request_timeout |
Timeout value (in seconds) for HTTP requests. Default timeout is 300 seconds.
Definition at line 32 of file core_configuration.h.
Referenced by core_configuration_log(), and core_processor_initialize().
char* core_configuration_t::initial_access_token |
Initial access token.
Definition at line 34 of file core_configuration.h.
Referenced by _load_initial_credentials(), core_configuration_log(), and core_processor_register().
char* core_configuration_t::mindsphere_certificate |
Mindsphere certificate. Optional. If NULL, MCL will use default CA certificate store (if provided at build-time) for peer verification.
Definition at line 23 of file core_configuration.h.
Referenced by core_configuration_log(), and core_processor_initialize().
char* core_configuration_t::mindsphere_hostname |
Mindsphere hostname.
Definition at line 21 of file core_configuration.h.
Referenced by core_configuration_log(), and core_configuration_validate().
mcl_uint16_t core_configuration_t::mindsphere_port |
Mindsphere port number.
Definition at line 22 of file core_configuration.h.
Referenced by core_configuration_log(), and core_processor_initialize().
char* core_configuration_t::proxy_domain |
Proxy domain. Optional if proxy host name and proxy username are set, ineffective otherwise.
Definition at line 30 of file core_configuration.h.
Referenced by core_configuration_log(), core_configuration_validate(), and core_processor_initialize().
char* core_configuration_t::proxy_hostname |
Proxy hostname. Optional.
Definition at line 25 of file core_configuration.h.
Referenced by core_configuration_log(), core_configuration_validate(), and core_processor_initialize().
char* core_configuration_t::proxy_password |
Proxy password. Mandatory if proxy host name and proxy username are set, ineffective otherwise.
Definition at line 29 of file core_configuration.h.
Referenced by core_configuration_log(), core_configuration_validate(), and core_processor_initialize().
mcl_uint16_t core_configuration_t::proxy_port |
Proxy port number. Mandatory if proxy host name is set, ineffective otherwise.
Definition at line 26 of file core_configuration.h.
Referenced by core_configuration_log(), and core_processor_initialize().
E_MCL_PROXY core_configuration_t::proxy_type |
Proxy type E_MCL_PROXY. Mandatory if proxy host name is set, ineffective otherwise.
Definition at line 27 of file core_configuration.h.
Referenced by core_configuration_log(), and core_processor_initialize().
char* core_configuration_t::proxy_username |
Proxy username. Optional if proxy host name is set, ineffective otherwise.
Definition at line 28 of file core_configuration.h.
Referenced by core_configuration_log(), core_configuration_validate(), and core_processor_initialize().
char* core_configuration_t::register_endpoint |
Uri for register endpoint.
Definition at line 35 of file core_configuration.h.
Referenced by core_processor_register().
E_MCL_SECURITY_PROFILE core_configuration_t::security_profile |
Security profile E_MCL_SECURITY_PROFILE.
Definition at line 31 of file core_configuration.h.
Referenced by _compose_access_token_request_payload(), _custom_load_register_info(), _load_initial_credentials(), _process_registration_response(), _save_credentials(), core_configuration_log(), core_processor_register(), and core_processor_update_credentials().
char* core_configuration_t::tenant |
Tenant name.
Definition at line 37 of file core_configuration.h.
Referenced by _compose_access_token_request_payload(), core_configuration_log(), and core_configuration_validate().
char* core_configuration_t::token_endpoint |
Uri for token endpoint.
Definition at line 36 of file core_configuration.h.
Referenced by core_processor_get_access_token().
char* core_configuration_t::user_agent |
User agent.
Definition at line 33 of file core_configuration.h.
Referenced by core_configuration_log(), core_configuration_validate(), and core_processor_initialize().