[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]


   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>