Kenji Arai / mbed-os_TYBLE16

Dependents:   TYBLE16_simple_data_logger TYBLE16_MP3_Air

Embed: (wiki syntax)

« Back to documentation index

mem_priv.h File Reference

mem_priv.h File Reference

lwIP internal memory implementations (do not use in application code) More...

Go to the source code of this file.

Functions

void mem_overflow_init_raw (void *p, size_t size)
 Initialize the restricted area of a mem element.
void mem_overflow_check_raw (void *p, size_t size, const char *descr1, const char *descr2)
 Check if a mep element was victim of an overflow or underflow (e.g.

Detailed Description

lwIP internal memory implementations (do not use in application code)

Definition in file mem_priv.h.


Function Documentation

void mem_overflow_check_raw ( void *  p,
size_t  size,
const char *  descr1,
const char *  descr2 
)

Check if a mep element was victim of an overflow or underflow (e.g.

the restricted area after/before it has been altered)

Parameters:
pthe mem element to check
sizeallocated size of the element
descr1description of the element source shown on error
descr2description of the element source shown on error

Definition at line 97 of file lwip_mem.c.

void mem_overflow_init_raw ( void *  p,
size_t  size 
)

Initialize the restricted area of a mem element.

Definition at line 135 of file lwip_mem.c.