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


NAME
    FindTagItem -- Scans tagitem list for a tag. (v36)

SYNOPSIS
    tag = FindTagItem( tagVal, tagList)
    D0                 D0      A0

    struct tagitem *findtagitem( tag tagval, struct tagitem *taglist );

FUNCTION
    Scans a tagitem "list", which is in fact a chain of arrays
    of tagitem structures as defined in utility/tagitem.h.
    Returns a pointer to the FIRST item with ti_Tag matching the
    'TagVal' parameter.

INPUTS
    tagVal          - Tag value to search for.
    tagList         - beginning of tagitem list to scan.

RESULT
    Returns a pointer to the item with ti_Tag matching 'TagVal'.
    Returns NULL if there is no match or if TagList is NULL.

BUGS

SEE ALSO
    utility/tagitem.h, gettagdata(), packbooltags(), nexttagitem()