heap.c File Reference
Heap subsystem (public interface). More...
#include "heap.h"
#include <cfg/macros.h>
#include <cfg/debug.h>
#include <string.h>
Go to the source code of this file.
Functions | |
| void | heap_init (struct Heap *h, void *memory, size_t size) |
| Initialize heap within the buffer pointed by memory which is of size bytes. | |
| void * | heap_allocmem (struct Heap *h, size_t size) |
| Allocate a chunk of memory of size bytes from the heap. | |
| void | heap_freemem (struct Heap *h, void *mem, size_t size) |
| Free a chunk of memory of size bytes from the heap. | |
Detailed Description
Heap subsystem (public interface).
- Version:
- Id
- heap.c 1532 2008-08-04 07:21:26Z bernie
Definition in file heap.c.
