core_configuration.h
Go to the documentation of this file.
1 
11 #ifndef CONFIGURATION_H_
12 #define CONFIGURATION_H_
13 
15 
20 {
30  char *proxy_domain;
33  char *user_agent;
37  char *tenant;
43 
55 
62 
63 #endif //CONFIGURATION_H_
#define MCL_LOCAL
mcl_error_t(* mcl_critical_section_enter_callback_t)(void)
E_MCL_PROXY
uint16_t mcl_uint16_t
char * proxy_hostname
Proxy hostname. Optional.
mcl_uint16_t proxy_port
Proxy port number. Mandatory if proxy host name is set, ineffective otherwise.
MCL_LOCAL mcl_error_t core_configuration_validate(core_configuration_t *configuration)
mcl_int32_t mcl_error_t
mcl_uint16_t mindsphere_port
Mindsphere port number.
MCL_LOCAL void core_configuration_log(core_configuration_t *configuration)
mcl_credentials_load_callback_t credentials_load_callback
Custom function for loading credentials. If both credentials_load_callback and credentials_save_callb...
uint32_t mcl_uint32_t
mcl_credentials_save_callback_t credentials_save_callback
Custom function for saving credentials. If both credentials_load_callback and credentials_save_callba...
char * tenant
Tenant name.
struct mcl_core_configuration_t mcl_core_configuration_t
char * user_agent
User agent.
void(* mcl_critical_section_leave_callback_t)(void)
E_MCL_SECURITY_PROFILE security_profile
Security profile E_MCL_SECURITY_PROFILE.
mcl_uint32_t http_request_timeout
Timeout value (in seconds) for HTTP requests. Default timeout is 300 seconds.
char * proxy_username
Proxy username. Optional if proxy host name is set, ineffective otherwise.
E_MCL_PROXY proxy_type
Proxy type E_MCL_PROXY. Mandatory if proxy host name is set, ineffective otherwise.
mcl_bool_t certificate_is_file
Flag to check if certificate is given as file or string.
mcl_critical_section_leave_callback_t critical_section_leave_callback
Custom function for leaving critical section (optional, default is NULL).
char * proxy_domain
Proxy domain. Optional if proxy host name and proxy username are set, ineffective otherwise...
char * register_endpoint
Uri for register endpoint.
mcl_uint8_t mcl_bool_t
char * initial_access_token
Initial access token.
char * mindsphere_certificate
Mindsphere certificate. Optional. If NULL, MCL will use default CA certificate store (if provided at ...
char * token_endpoint
Uri for token endpoint.
Common module interface header file.
char * proxy_password
Proxy password. Mandatory if proxy host name and proxy username are set, ineffective otherwise...
mcl_critical_section_enter_callback_t critical_section_enter_callback
Custom function for entering critical section (optional, default is NULL).
char * mindsphere_hostname
Mindsphere hostname.
E_MCL_SECURITY_PROFILE