Configuration module interface header file. More...
#include "mcl/mcl_common.h"
Go to the source code of this file.
Data Structures | |
struct | mcl_configuration_t |
Functions | |
MCL_EXPORT E_MCL_ERROR_CODE | mcl_configuration_initialize (mcl_configuration_t **configuration) |
MCL_EXPORT mcl_configuration_t * | mcl_new_configuration () |
MCL_EXPORT E_MCL_ERROR_CODE | mcl_configuration_destroy (mcl_configuration_t **configuration) |
Configuration module interface header file.
Definition in file mcl_configuration.h.
MCL_EXPORT E_MCL_ERROR_CODE mcl_configuration_destroy | ( | mcl_configuration_t ** | configuration | ) |
This function destroys the mcl_configuration_t type object.
[in] | configuration | Data structure holding the configuration parameters. |
configuration
is NULL. Definition at line 66 of file configuration.c.
References ASSERT_NOT_NULL, DEBUG_ENTRY, DEBUG_LEAVE, MCL_FREE, MCL_NULL, and MCL_OK.
MCL_EXPORT E_MCL_ERROR_CODE mcl_configuration_initialize | ( | mcl_configuration_t ** | configuration | ) |
This function initializes a new mcl_configuration_t data structure with default values and returns error code.
[out] | configuration | Data structure holding the configuration parameters. |
configuration
is NULL. Definition at line 21 of file configuration.c.
References ASSERT_CODE_MESSAGE, ASSERT_NOT_NULL, DEBUG_ENTRY, DEBUG_LEAVE, DEFAULT_HTTP_PAYLOAD_SIZE, DEFAULT_HTTP_REQUEST_TIMEOUT, MCL_NEW, MCL_NULL, MCL_OK, MCL_OUT_OF_MEMORY, MCL_PROXY_UNKNOWN, and MCL_SECURITY_SHARED_SECRET.
Referenced by mcl_new_configuration().
MCL_EXPORT mcl_configuration_t* mcl_new_configuration | ( | ) |
This function creates a new mcl_configuration_t data structure with default values and returns a pointer to the new data structure.
Definition at line 54 of file configuration.c.
References DEBUG_ENTRY, DEBUG_LEAVE, mcl_configuration_initialize(), and MCL_NULL.