home *** CD-ROM | disk | FTP | other *** search
- {$if not def IFFPARSE_LIB_H} CONST IFFPARSE_LIB_H=0;
-
- { **************************************************************
- ** KickPascal-Include-Datei "iffparse.lib" zu Kickstart 3.0 **
- ************************************************************** }
-
- {$if not def LIBRARIES_IFFPARSE_H;incl "libraries/iffparse.h";endif}
- {$if not def UTILITY_HOOKS_H;incl "utility/hooks.h";endif}
-
- VAR IFFParse : Ptr;
-
- LIBRARY IFFParse :
-
- { **** Routinen ab V36 / Release 2.0 **** }
-
- -30 : FUNCTION AllocIFF : p_IFFHandle;
- -36 : FUNCTION OpenIFF(A0:p_IFFHandle; D0:LongInt): LongInt;
- -42 : FUNCTION ParseIFF(A0:p_IFFHandle; D0:LongInt): LongInt;
- -48 : PROCEDURE CloseIFF(A0:p_IFFHandle);
- -54 : PROCEDURE FreeIFF(A0:p_IFFHandle);
- -60 : FUNCTION ReadChunkBytes(A0:p_IFFHandle; A1:Ptr; D0:LongInt): LongInt;
- -66 : FUNCTION WriteChunkBytes(A0:p_IFFHandle; A1:Ptr; D0:LongInt): LongInt;
- -72 : FUNCTION ReadChunkRecords(A0:p_IFFHandle; A1:Ptr; D0,D1:LongInt): LongInt;
- -78 : FUNCTION WriteChunkRecords(A0:p_IFFHandle; A1:Ptr; D0,D1:LongInt): LongInt;
- -84 : FUNCTION PushChunk(A0:p_IFFHandle; D0,D1,D2:LongInt): LongInt;
- -90 : FUNCTION PopChunk(A0:p_IFFHandle): LongInt;
- { *** private Routine *** }
- -102 : FUNCTION EntryHandler(A0:p_IFFHandle; D0,D1,D2:LongInt; A1:p_Hook; A2:Ptr): LongInt;
- -108 : FUNCTION ExitHandler(A0:p_IFFHandle; D0,D1,D2:LongInt; A1:p_Hook; A2:Ptr): LongInt;
- -114 : FUNCTION PropChunk(A0:p_IFFHandle; D0,D1:LongInt): LongInt;
- -120 : FUNCTION PropChunks(A0:p_IFFHandle; A1:Ptr; D0:LongInt): LongInt;
- -126 : FUNCTION StopChunk(A0:p_IFFHandle; D0,D1:LongInt): LongInt;
- -132 : FUNCTION StopChunks(A0:p_IFFHandle; A1:Ptr; D0:LongInt): LongInt;
- -138 : FUNCTION CollectionChunk(A0:p_IFFHandle; D0,D1:LongInt): LongInt;
- -144 : FUNCTION CollectionChunks(A0:p_IFFHandle; A1:Ptr; D0:LongInt): LongInt;
- -150 : FUNCTION StopOnExit(A0:p_IFFHandle; D0,D1:LongInt): LongInt;
- -156 : FUNCTION FindProp(A0:p_IFFHandle; D0,D1:LongInt): p_StoredProperty;
- -162 : FUNCTION FindCollection(A0:p_IFFHandle; D0,D1:LongInt): p_CollectionItem;
- -168 : FUNCTION FindPropContext(A0:p_IFFHandle): p_ContextNode;
- -174 : FUNCTION CurrentChunk(A0:p_IFFHandle): p_ContextNode;
- -180 : FUNCTION ParentChunk(A0:p_ContextNode): p_ContextNode;
- -186 : FUNCTION AllocLocalItem(D0,D1,D2,D3:LongInt): p_LocalContextItem;
- -192 : FUNCTION LocalItemData(A0:p_LocalContextItem): Ptr;
- -198 : PROCEDURE SetLocalItemPurge(A0:p_LocalContextItem; A1:p_Hook);
- -204 : PROCEDURE FreeLocalItem(A0:p_LocalContextItem);
- -210 : FUNCTION FindLocalItem(A0:p_IFFHandle; D0,D1,D2:LongInt): p_LocalContextItem;
- -216 : FUNCTION StoreLocalItem(A0:p_IFFHandle; A1:p_LocalContextItem; D0:LongInt): LongInt;
- -222 : PROCEDURE StoreItemInContext(A0:p_IFFHandle; A1:p_LocalContextItem; A2:p_ContextNode);
- -228 : PROCEDURE InitIFF(A0:p_IFFHandle; D0:LongInt; A1:p_Hook);
- -234 : PROCEDURE InitIFFasDOS(A0:p_IFFHandle);
- -240 : PROCEDURE InitIFFasClip(A0:p_IFFHandle);
- -246 : FUNCTION OpenClipboard(D0:LongInt): p_ClipboardHandle;
- -252 : PROCEDURE CloseClipboard(A0:p_ClipboardHandle);
- -258 : FUNCTION GoodID(D0:LongInt): LongInt;
- -264 : FUNCTION GoodType(D0:LongInt): LongInt;
- -270 : FUNCTION IDtoStr(D0:LongInt; A0:Str): Str;
- END;
- {$endif}
-