home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
568a.lha
/
MemMan
/
MemMan.h
< prev
next >
Wrap
C/C++ Source or Header
|
1991-11-08
|
933b
|
31 lines
/********************************************************************
MemMan.h
Low-memory manager
Copyright (C) 1991 Bryan Ford
********************************************************************/
#ifndef BRY_MEMMAN_H
#define BRY_MEMMAN_H
#ifndef EXEC_NODES_H
#include <exec/nodes.h>
#endif
struct MMNode
{
struct MinNode Node; /* Link into systemwide MMList */
char Linked; /* Flag (private - initialize to 0) */
char Pri; /* Priority, in line with ln_Pri */
long __regargs (*GetRidFunc)(long size,long memtype,void *data);
void *GetRidData; /* Data to send to GetRidFunc */
};
int __asm MMInit(void);
void __asm MMFinish(void);
void __asm MMAddNode(register __a1 struct MMNode *node);
void __asm MMRemNode(register __a1 struct MMNode *node);
#endif