mcl_connectivity_configuration.h
Go to the documentation of this file.
1 
12 #ifndef MCL_CONNECTIVITY_CONFIGURATION_H_
13 #define MCL_CONNECTIVITY_CONFIGURATION_H_
14 
16 
17 #ifdef __cplusplus
18 extern "C"
19 {
20 #endif
21 
25 #define MCL_CONNECTIVITY_MAX_HTTP_PAYLOAD_SIZE (10485760)
26 
31 #define MCL_CONNECTIVITY_DEFAULT_MAX_HTTP_PAYLOAD_SIZE (16384)
32 
36 #define MCL_CONNECTIVITY_MIN_HTTP_PAYLOAD_SIZE (400)
37 
39 
44 {
49 
50 /*
51  * This function creates and initializes a data struct of #mcl_connectivity_configuration_t.
52  *
53  * @param [out] configuration Data structure holding the connectivity configuration parameters.
54  * @return
55  * <ul>
56  * <li>#MCL_OK in case of success.</li>
57  * <li>#MCL_TRIGGERED_WITH_NULL if provided @p configuration is NULL.</li>
58  * <li>#MCL_OUT_OF_MEMORY in case there is not enough memory in the system to proceed.</li>
59  * </ul>
60  */
62 
77 extern MCL_CONNECTIVITY_EXPORT mcl_error_t mcl_connectivity_configuration_set_parameter(mcl_connectivity_configuration_t *configuration, E_MCL_CONNECTIVITY_CONFIGURATION_PARAMETER parameter, const void *value);
78 
85 
86 #ifdef __cplusplus
87 }
88 #endif
89 
90 #endif //MCL_CONNECTIVITY_CONFIGURATION_H_
MCL_CONNECTIVITY_EXPORT mcl_error_t mcl_connectivity_configuration_initialize(mcl_connectivity_configuration_t **configuration)
#define MCL_CONNECTIVITY_EXPORT
mcl_int32_t mcl_error_t
E_MCL_CONNECTIVITY_CONFIGURATION_PARAMETER
struct mcl_connectivity_configuration_t mcl_connectivity_configuration_t
MCL_CONNECTIVITY_EXPORT mcl_error_t mcl_connectivity_configuration_set_parameter(mcl_connectivity_configuration_t *configuration, E_MCL_CONNECTIVITY_CONFIGURATION_PARAMETER parameter, const void *value)
Common module interface header file.
MCL_CONNECTIVITY_EXPORT void mcl_connectivity_configuration_destroy(mcl_connectivity_configuration_t **configuration)