(C) 1998 AROS - The Amiga Research OS


NAME
#include <proto/iffparse.h>

LONG ExitHandler (iff , type , id , position , handler , object)

LOCATION
In IFFParseBase at offset 18

SYNOPSIS
struct IFFHandle * iff
LONG type
LONG id
LONG position
struct Hook * handler
APTR object

FUNCTION
Installs an exit handler for a specific chunk type that wil be called whenever a chunk of that type is popped off 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
EntryHandler(), StoreLocalItem(), StoreItemInContext()

NOTES

BUGS

INTERNALS

HISTORY
20.10.1998 hkiel
Amiga Research OS
03.02.1997 digulla
Iffparse.library as supplied by Nils H. Lorentzen