memb.h File Reference

Memory block allocation routines. More...

#include "sys/cc.h"

Go to the source code of this file.

Defines

#define MEMB(name, structure, num)
 Declare a memory block.

Functions

void memb_init (struct memb *m)
 Initialize a memory block that was declared with MEMB().
void * memb_alloc (struct memb *m)
 Allocate a memory block from a block of memory declared with MEMB().
char memb_free (struct memb *m, void *ptr)
 Deallocate a memory block from a memory block previously declared with MEMB().

Detailed Description

Memory block allocation routines.

Author:
Adam Dunkels <adam@sics.se>

Definition in file memb.h.


Generated on Mon Apr 11 14:23:46 2011 for Contiki 2.5 by  doxygen 1.6.1