NAME
FindLocalItem -- return a local context item from the context stack.
(V36)
SYNOPSIS
lci = FindLocalItem(iff, type, id, ident);
D0 A0 D0 D1 D2
struct localcontextitem *findlocalitem(struct iffhandle *,
long, long, long);
FUNCTION
Searches the context stack of the given iffhandle structure for a
local context item which matches the given ident, type and id. This
function searches the context stack from the most current context
backwards, so that the item found (if any) will be the one with
greatest precedence in the context stack.
INPUTS
iff - pointer to iffhandle structure.
type - type code to search for.
id - ID code to search for.
ident - ident code for the class of context item to search for
(ex. "exhd" -- exit handler).
RESULT
lci - pointer to local context item, or NULL if nothing matched.
SEE ALSO
storelocalitem(), <libraries/iffparse.h>