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


NAME
    FindProp -- Search for a stored property chunk.

SYNOPSIS
    sp = FindProp (iff, type, id)
    d0             a0    d0   d1

    struct storedproperty     *sp;
    struct iffhandle  *iff;
    LONG                    type, id;

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 struct.
    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, if found, or NULL if none
              found.

EXAMPLE

NOTES

BUGS

SEE ALSO
    propchunk(), propchunks()