Embedded Wireless Framework
Macros | Functions
ewf_adapter_api_tls_basic.c File Reference

The Embedded Wireless Framework adapter tls basic API implementation. More...

#include "ewf_adapter.h"

Macros

#define EWF_ADAPTER_VALIDATE_TLS_BASIC_API_POINTER(adapter_ptr, function_ptr)
 

Functions

ewf_result ewf_adapter_tls_basic_init (ewf_adapter *adapter_ptr)
 Initialize TLS basic API status.
 
ewf_result ewf_adapter_tls_basic_clean (ewf_adapter *adapter_ptr)
 Cleanup the TLS basic API status.
 

Detailed Description

The Embedded Wireless Framework adapter tls basic API implementation.

Version
Preview

Macro Definition Documentation

◆ EWF_ADAPTER_VALIDATE_TLS_BASIC_API_POINTER

#define EWF_ADAPTER_VALIDATE_TLS_BASIC_API_POINTER (   adapter_ptr,
  function_ptr 
)
Value:
do { \
if ((adapter_ptr->tls_basic_api_ptr == NULL) || \
(adapter_ptr->tls_basic_api_ptr->function_ptr == NULL)) \
{ \
EWF_LOG_ERROR("The function is not implemented."); \
} \
} while(0)
@ EWF_RESULT_NOT_SUPPORTED
Definition: ewf.h:71