2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
6 #include "iffparse_intern.h"
8 /*****************************************************************************
11 #include <proto/iffparse.h>
13 AROS_LH3(LONG
, StopChunk
,
16 AROS_LHA(struct IFFHandle
*, iff
, A0
),
17 AROS_LHA(LONG
, type
, D0
),
18 AROS_LHA(LONG
, id
, D1
),
21 struct Library
*, IFFParseBase
, 21, IFFParse
)
24 Inserts an entry handler for the given type and id, that will cause the parser
25 to stop when such a chunk is entered.
28 iff - Pointer to IFFHandle struct. (does not need to be open).
29 type - IFF chunk type declarator for chunk to stop at.
30 id - IFF chunk id identifier for chunk to stop at.
33 error - 0 if successfull, IFFERR_#? otherwise.
42 StopChunks(), ParseIFF()
46 *****************************************************************************/
50 DEBUG_STOPCHUNK(dprintf("StopChunk: iff 0x%lx type 0x%08lx (%c%c%c%c) id 0x%08lx (%c%c%c%c)\n",
51 iff
, type
, dmkid(type
), id
, dmkid(id
)));
53 /* Install an EntryHandler */
62 &(IPB(IFFParseBase
)->stophook
),