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


   NAME
        FindProp -- search for a stored property chunk. (V36)

   SYNOPSIS
        sp = FindProp(iff, type, id);
        D0            A0   D0    D1

        struct storedproperty *findprop(struct iffhandle *, long, long);

   FUNCTION
        Searches for the stored property which is valid in the given context.
        Property chunks are automatically stored by parseiff() when
        pre-declared by propchunk() or propchunks(). the storedproperty
        struct, if found, contains a pointer to a data buffer containing the
        contents of the stored property.

   INPUTS
        iff - pointer to iffhandle structure.
        type - type code for chunk to search for (ex. "ILBM").
        id - identifier code for chunk to search for (ex. "CMAP").

   RESULT
        sp - pointer to stored property, or NULL if none found.

   SEE ALSO
        propchunk(), propchunks(), <libraries/iffparse.h>