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


NAME
    FindCollection -- Get a pointer to the current list of collection
                      items.

SYNOPSIS
    ci = FindCollection (iff, type, id)
    d0                   a0    d0   d1

    struct collectionitem    *ci;
    struct iffhandle  *iff;
    LONG                    type, id;

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 struct.
    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.

EXAMPLE

NOTES

BUGS

SEE ALSO
    collectionchunk(), collectionchunks()