2 Copyright © 1995-2016, The AROS Development Team. All rights reserved.
7 #include <aros/debug.h>
8 #include "iffparse_intern.h"
10 /*****************************************************************************
13 #include <proto/iffparse.h>
15 AROS_LH3(LONG
, PropChunk
,
18 AROS_LHA(struct IFFHandle
*, iff
, A0
),
19 AROS_LHA(LONG
, type
, D0
),
20 AROS_LHA(LONG
, id
, D1
),
23 struct Library
*, IFFParseBase
, 19, IFFParse
)
26 Installs an entry handler for chunks with the given type and id.
27 When such chunk is encoutered, the entry handler will insert
28 a StoredProperty in the proper context.
29 A stored property chunk returned by FindProp() will be the valid property
30 for the current context.
33 iff - pointer to IFFHandle struct.
34 type - type code for chunk to declare.
35 id - identifier for chunk to declare.
38 error - 0 if successful, IFFERR_#? otherwise.
47 PropChunks(), FindProp(), CollectionChunk()
51 *****************************************************************************/
55 DEBUG_PROPCHUNK(dprintf("PropChunk: iff 0x%lx type 0x%08lx (%c%c%c%c) id 0x%08lx (%c%c%c%c)\n",
56 iff
, type
, dmkid(type
), id
, dmkid(id
)));
68 &(IPB(IFFParseBase
)->prophook
),