[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>