Contiki 2.6

mmem.h File Reference

Header file for the managed memory allocator. More...

Go to the source code of this file.

Defines

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

Functions

int mmem_alloc (struct mmem *m, unsigned int size)
 Allocate a managed memory block.
void mmem_free (struct mmem *m)
 Deallocate a managed memory block.
void mmem_init (void)
 Initialize the managed memory module.

Detailed Description

Header file for the managed memory allocator.

Author:
Adam Dunkels <adam@sics.se>

Definition in file mmem.h.