00001 /****************************************************************** 00002 ANet_Daemon/Common/Memory.h 00003 Declarations for memory management in the ANet deamon. 00004 00005 Part of the run-time wrapper of the ANet project. 00006 00007 Distributed under GPL: http://www.gnu.org/copyleft/gpl.html 00008 ******************************************************************/ 00009 00010 #ifndef ANET_MEMORY 00011 #define ANET_MEMORY 00012 00038 #include "ANetCommon.h" 00039 00052 typedef UInt32 ANetMemoryTag; 00053 00054 UInt32 IsTagValid(ANetMemoryTag tag); 00055 00056 ANetMemoryTag NewMemoryBlock(UInt32 size, UInt32 flags); 00057 UInt32 DeleteMemoryBlock(ANetMemoryTag tag); 00058 UInt32 GetMemoryBlockSize(ANetMemoryTag tag); 00059 UInt32 ResolveMemoryTag(ANetMemoryTag tag, UInt8 **ptr); 00060 00061 #endif 00062