Mbed OS Reference
Loading...
Searching...
No Matches
debug.h File Reference

Functions for controlling and providing debug output from the library. More...

#include "mbedtls/config.h"
#include "mbedtls/ssl.h"

Go to the source code of this file.

Functions

void mbedtls_debug_set_threshold (int threshold)
 Set the threshold error level to handle globally all debug output. More...
 
void mbedtls_debug_print_msg (const mbedtls_ssl_context *ssl, int level, const char *file, int line, const char *format,...)
 Print a message to the debug output. More...
 
void mbedtls_debug_print_ret (const mbedtls_ssl_context *ssl, int level, const char *file, int line, const char *text, int ret)
 Print the return value of a function to the debug output. More...
 
void mbedtls_debug_print_buf (const mbedtls_ssl_context *ssl, int level, const char *file, int line, const char *text, const unsigned char *buf, size_t len)
 Output a buffer of size len bytes to the debug output. More...
 

Detailed Description

Functions for controlling and providing debug output from the library.

Definition in file debug.h.