Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals

apps/telnetd/memb.h File Reference


Detailed Description

Memory block allocation routines.

Author:
Adam Dunkels <adam@sics.se>

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Defines

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


Functions

void memb_init (struct memb_blocks *m)
 Initialize a memory block that was declared with MEMB().

char * memb_alloc (struct memb_blocks *m)
 Allocate a memory block from a block of memory declared with MEMB().

char memb_ref (struct memb_blocks *m, char *ptr)
 Increase the reference count for a memory chunk.

char memb_free (struct memb_blocks *m, char *ptr)
 Deallocate a memory block from a memory block previously declared with MEMB().


Generated on Tue Oct 7 15:51:15 2003 for uIP 0.9 by doxygen 1.3.3