Copyright (C) 2001,2002,2003 Philippe Gerum <rpm@xenomai.org>.
Xenomai is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
Xenomai is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with Xenomai; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

Functions | |
| int | xnheap_init (xnheap_t *heap, void *heapaddr, u_long heapsize, u_long pagesize) | 
| Initialize a memory heap.   | |
| void | xnheap_set_label (xnheap_t *heap, const char *label,...) | 
| Set the heap's label string.   | |
| void | xnheap_destroy (xnheap_t *heap, void(*flushfn)(xnheap_t *heap, void *extaddr, u_long extsize, void *cookie), void *cookie) | 
| Destroys a memory heap.   | |
| void * | xnheap_alloc (xnheap_t *heap, u_long size) | 
| Allocate a memory block from a memory heap.   | |
| int | xnheap_test_and_free (xnheap_t *heap, void *block, int(*ckfn)(void *block)) | 
| Test and release a memory block to a memory heap.   | |
| int | xnheap_free (xnheap_t *heap, void *block) | 
| Release a memory block to a memory heap.   | |
| int | xnheap_extend (xnheap_t *heap, void *extaddr, u_long extsize) | 
| Extend a memory heap.   | |
| void | xnheap_schedule_free (xnheap_t *heap, void *block, xnholder_t *link) | 
| Schedule a memory block for release.   | |
 1.5.6