Function esp_idf_hal::sys::mbedtls_ssl_conf_dbg
source ยท pub unsafe extern "C" fn mbedtls_ssl_conf_dbg(
conf: *mut mbedtls_ssl_config,
f_dbg: Option<unsafe extern "C" fn(_: *mut c_void, _: i32, _: *const i8, _: i32, _: *const i8)>,
p_dbg: *mut c_void,
)
Expand description
\brief Set the debug callback
The callback has the following argument:
void * opaque context for the callback
int debug level
const char * file name
int line number
const char * message
\param conf SSL configuration \param f_dbg debug function \param p_dbg debug parameter