(C) 1998 AROS - The Amiga Research OS
NAME
#include <proto/iffparse.h>
LONG EntryHandler (iff , type , id , position , handler , object)
LOCATION
In IFFParseBase at offset 17
SYNOPSIS
struct IFFHandle * iff
LONG type
LONG id
LONG position
struct Hook * handler
APTR object
FUNCTION
Installs an entry handler for a specific chunk type that wil be called whenever a chunk of that type is pushed on the contextstack via ParseIFF().
INPUTS
iff
pointer to an iffhandle struct.
type
type code for the chunk to handle. (ex: "ILBM").
id
ID code for the chunk to handle. (ex: "CMAP")
position
position of localcontextitem. See StoreLocalItem for more info.
handler
an initialised Hook structure for the handler function.
object
pointer to some kind of object that will be passed to your handler function.
RESULT
error - 0 If successfull, IFFERR_#? elsewise.
EXAMPLE
SEE ALSO
ExitHandler(), StoreLocalItem(), StoreItemInContext()
NOTES
BUGS
INTERNALS
HISTORY
20.10.1998 hkiel
Amiga Research OS
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