extern void *mmalloc_attach(int fd, void *baseaddr);
+extern void mmalloc_pre_detach(void *md);
+
extern void *mmalloc_detach(void *md);
extern int mmalloc_setkey(void *md, int keynum, void *key);
extern void *mmalloc_findbase(int size);
+extern int mmalloc_compare_heap(void *h1, void *h2);
+
/* To change the heap used when using the legacy version malloc/free/realloc and such */
void mmalloc_set_current_heap(void *new_heap);
void *mmalloc_get_current_heap(void);