(C) 1998 AROS - The Amiga Research OS


NAME
#include <proto/iffparse.h>

struct ContextNode * FindPropContext (iff)

LOCATION
In IFFParseBase at offset 28

SYNOPSIS
struct IFFHandle * iff

FUNCTION
Finds the proper context in which to store a property. If we have installed a property entry handler via PropChunk() and such a property chunk (for example id is "CMAP" and type is "ILBM" inside a form, then the storedproperty will be stored in the enclosing FORM chink. If the chunk was inside a PROP chunk inside a LIST, then the storedproperty would be installed in the LIST context.

INPUTS
iff
pointer to IFFHandle struct.

RESULT
cn - pointer to contextnode where the property might be installed, or NULL if no such context exists.

EXAMPLE

SEE ALSO
ParentChunk(), CurrentChunk(), StoreItemInContext(), PropChunk()

NOTES
This function is most for internal use.

BUGS

INTERNALS

HISTORY
20.10.1998 hkiel
Amiga Research OS
15.02.1997 ldp
Renamed D2 to DB2 to avoid nameclash with the register
13.02.1997 digulla
Bugfix. Loads IFF pictures now.

Added lots of debug output

03.02.1997 digulla
Iffparse.library as supplied by Nils H. Lorentzen