16 #ifndef MCL_CONFIGURATION_H_ 17 #define MCL_CONFIGURATION_H_ 93 #endif //MCL_CONFIGURATION_H_ E_MCL_SECURITY_PROFILE security_profile
Security levels E_MCL_SECURITY_PROFILE.
char * user_agent
User agent.
mcl_uint16_t proxy_port
Proxy port no. Optional if proxy_hostname is not used.
mcl_enter_critical_section_callback_t enter_critical_section
Custom function for entering critical section (Optional, default is NULL).
char * proxy_password
Proxy password. Optional if proxy_hostname and proxy_username are not used.
E_MCL_PROXY
Proxy type definitions. Used inside of mcl_configuration_t.
E_MCL_SECURITY_PROFILE
Definitions of different security profiles for onboarding.
MCL_EXPORT mcl_configuration_t * mcl_new_configuration()
char * tenant
Tenant name which is used in self issued JWT.
Common module interface header file.
mcl_load_registration_information_callback_t load_function
Custom function for loading registration information; if both load_function and save_function are non...
MCL_EXPORT E_MCL_ERROR_CODE mcl_configuration_initialize(mcl_configuration_t **configuration)
mcl_uint16_t mindsphere_port
Mindsphere port no.
E_MCL_ERROR_CODE
MCL Error code definitions. Every function returning an error code uses this enum values...
mcl_leave_critical_section_callback_t leave_critical_section
Custom function for leaving critical section (Optional, default is NULL).
char * proxy_hostname
Proxy hostname. Optional.
void(* mcl_leave_critical_section_callback_t)(void)
Callback function prototype to leave critical section (onboarding, key rotation, updating security in...
char * mindsphere_hostname
Mindsphere hostname.
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_hostname is not used.
E_MCL_PROXY proxy_type
Proxy type E_MCL_PROXY. Optional if proxy_hostname is not used.
mcl_save_registration_information_callback_t save_function
Custom function for saving registration information; if both load_function and save_function are non-...
char * store_path
Path of the file the library uses to save registration artifacts such as registration access token...
char * proxy_domain
Proxy domain. Optional if proxy_hostname and proxy_username are not used.
char * initial_access_token
Initial access token. Not used by the library if a registration access token is present in store_path...
MCL_EXPORT E_MCL_ERROR_CODE mcl_configuration_destroy(mcl_configuration_t **configuration)
E_MCL_ERROR_CODE(* mcl_enter_critical_section_callback_t)(void)
Callback function prototype to enter critical section (onboarding, key rotation, updating security in...
mcl_size_t max_http_payload_size
Not valid for streamable request. Default value is 16K Bytes. Minimum value is 400 Bytes and maximum ...
char * mindsphere_certificate
Mindsphere certificate. Optional. If set to NULL, MCL will use default CA certificate store (if provi...