(C) 1998 AROS - The Amiga Research OS


NAME
#include <proto/iffparse.h>

LONG StopOnExit (iff , type , id)

LOCATION
In IFFParseBase at offset 25

SYNOPSIS
struct IFFHandle * iff
LONG type
LONG id

FUNCTION
Inserts an exit handler for the given type and id, that will cause the parser to stop when such a chunk is left.

INPUTS
iff
Pointer to IFFHandle struct. (does not need to be open).
type
IFF chunk type declarator for chunk to stop at.
id
IFF chunk id identifier for chunk to stop at.

RESULT
error - 0 if successfull, IFFERR_#? otherwise.

EXAMPLE

SEE ALSO
ParseIFF()

NOTES

BUGS

INTERNALS

HISTORY
20.10.1998 hkiel
Amiga Research OS
03.02.1997 digulla
Some major hacks because we don't have A6 - The IFFParseBase must be passed to the hooks in hook->h_Data.
03.02.1997 digulla
Iffparse.library as supplied by Nils H. Lorentzen