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


   NAME
	FindCollection -- get a pointer to the current list of collection
			  items. (V36)

   SYNOPSIS
	ci = FindCollection(iff, type, id);
	D0                  A0   D0    D1

	struct CollectionItem *FindCollection(struct IFFHandle *, LONG, LONG);

   FUNCTION
	Returns a pointer to a list of CollectionItem structures for each of
	the collection chunks of the given type encountered so far in the
	course of parsing this IFF file. The items appearing first in the
	list will be the ones encountered most recently.

   INPUTS
	iff - pointer to IFFHandle structure.
	type - type code to search for.
	id - identifier code to search for.

   RESULT
	ci - pointer to last collection chunk encountered with
	     links to previous ones.

   SEE ALSO
	CollectionChunk(), CollectionChunks(), <libraries/iffparse.h>