libcoap 4.3.5-develop-19cef11
coap_mem.c File Reference

Memory handling functions. More...

+ Include dependency graph for coap_mem.c:

Go to the source code of this file.

Macros

#define MAKE_CASE(n)   case n: name = #n; break
 

Functions

void coap_dump_memory_type_counts (coap_log_t level)
 Dumps the current usage of malloc'd memory types. More...
 

Detailed Description

Memory handling functions.

Definition in file coap_mem.c.

Macro Definition Documentation

◆ MAKE_CASE

#define MAKE_CASE (   n)    case n: name = #n; break

Definition at line 668 of file coap_mem.c.

Function Documentation

◆ coap_dump_memory_type_counts()

void coap_dump_memory_type_counts ( coap_log_t  log_level)

Dumps the current usage of malloc'd memory types.

Requires COAP_MEMORY_TYPE_TRACK to be defined to 1.

Parameters
log_levelThe logging level to use.

Definition at line 670 of file coap_mem.c.

+ Here is the caller graph for this function: