/*
# _____     ___ ____     ___ ____
#  ____|   |    ____|   |        | |____|
# |     ___|   |____ ___|    ____| |    \    PS2DEV Open Source Project.
#-----------------------------------------------------------------------
# Copyright 2001-2004, ps2dev - http://www.ps2dev.org
# Licenced under Academic Free License version 2.0
# Review ps2sdk README & LICENSE files for further details.
#
# $Id: iopheap.h 577 2004-09-14 14:41:46Z pixel $
# IOP heap handling prototypes
*/

#ifndef _IOP_HEAP_H_
#define _IOP_HEAP_H_

#ifdef __cplusplus
extern "C" {
#endif

int SifInitIopHeap(void);
void SifExitIopHeap(void);

void * SifAllocIopHeap(int size);
int SifFreeIopHeap(void *addr);

int SifLoadIopHeap(const char *path, void *addr);

#ifdef __cplusplus
}
#endif

#endif
