Contiki 2.5
Macros | Functions
mmem.h File Reference

    Header file for the managed memory allocator
More...

Go to the source code of this file.

Macros

#define MMEM_PTR(m)
 Get a pointer to the managed memory. More...
 

Functions

int mmem_alloc (struct mmem *m, unsigned int size)
 Allocate a managed memory block. More...
 
void mmem_free (struct mmem *m)
 Deallocate a managed memory block. More...
 
void mmem_init (void)
 Initialize the managed memory module. More...
 
int mmem_realloc (struct mmem *mem, unsigned int size)
 Change the size of allocated memory. More...
 
void mmem_reparent (struct mmem *m_old, struct mmem *m_new)
 Assign a chunk of memory form one mem struct to another. More...
 

Detailed Description

    Header file for the managed memory allocator
Author
Adam Dunkels adam@.nosp@m.sics.nosp@m..se

Definition in file mmem.h.