Rtos API example

Embed: (wiki syntax)

« Back to documentation index

memp.h File Reference

memp.h File Reference

Memory pool API. More...

Go to the source code of this file.

Data Structures

struct  memp_malloc_helper
 This structure is used to save the pool one element came from. More...

Enumerations

enum  memp_t
 

Create the list of all memory pools managed by memp.

More...

Functions

void memp_init (void)
 Initializes lwIP built-in pools.

Detailed Description

Memory pool API.

Definition in file memp.h.


Enumeration Type Documentation

enum memp_t

Create the list of all memory pools managed by memp.

MEMP_MAX represents a NULL pool at the end

Definition at line 50 of file memp.h.


Function Documentation

void memp_init ( void   )

Initializes lwIP built-in pools.

Related functions: memp_malloc, memp_free

Carves out memp_memory into linked lists for each pool-type.

Definition at line 271 of file lwip_memp.c.