Azure IoT common library
Dependents: STM32F746_iothub_client_sample_mqtt f767zi_mqtt iothub_client_sample_amqp iothub_client_sample_http ... more
Diff: azure_c_shared_utility/tlsio_wolfssl.h
- Revision:
- 42:0cc3c211ad26
- Parent:
- 33:810f9cff537a
--- a/azure_c_shared_utility/tlsio_wolfssl.h Mon Mar 05 17:43:09 2018 -0800 +++ b/azure_c_shared_utility/tlsio_wolfssl.h Tue Mar 20 10:31:23 2018 -0700 @@ -7,6 +7,7 @@ #include "azure_c_shared_utility/xio.h" #include "azure_c_shared_utility/xlogging.h" #include "azure_c_shared_utility/umock_c_prod.h" +#include "azure_c_shared_utility/const_defines.h" #ifdef __cplusplus extern "C" { @@ -15,6 +16,8 @@ #include <stddef.h> #endif /* __cplusplus */ +extern const char* const OPTION_WOLFSSL_SET_DEVICE_ID; + MOCKABLE_FUNCTION(, CONCRETE_IO_HANDLE, tlsio_wolfssl_create, void*, io_create_parameters); MOCKABLE_FUNCTION(, void, tlsio_wolfssl_destroy, CONCRETE_IO_HANDLE, tls_io); MOCKABLE_FUNCTION(, int, tlsio_wolfssl_open, CONCRETE_IO_HANDLE, tls_io, ON_IO_OPEN_COMPLETE, on_io_open_complete, void*, on_io_open_complete_context, ON_BYTES_RECEIVED, on_bytes_received, void*, on_bytes_received_context, ON_IO_ERROR, on_io_error, void*, on_io_error_context);