2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
9 #include <utility/tagitem.h>
11 /*****************************************************************************
14 #include <proto/utility.h>
16 AROS_LH2(BOOL
, TagInArray
,
19 AROS_LHA(Tag
, tagValue
, D0
),
20 AROS_LHA(Tag
*, tagArray
, A0
),
23 struct UtilityBase
*, UtilityBase
, 15, Utility
)
26 Determines whether the value tagValue exists in an array of Tags
27 pointed to by tagArray. This array must be contiguous, and must be
28 terminated by TAG_DONE.
30 This is an array of Tags (ie: Tag tagArray[]), not an array of
31 TagItems (ie: struct TagItem tagArray[]).
34 tagValue - The value of the Tag to search for.
35 tagArray - The ARRAY of Tag's to scan through.
38 TRUE if tagValue exists in tagArray
48 <utility/tagitem.h>, FilterTagItems()
53 29-10-95 digulla automatically created from
54 utility_lib.fd and clib/utility_protos.h
55 01-09-96 iaint Implemented from autodoc.
57 *****************************************************************************/
61 while(*tagArray
!= TAG_DONE
)
63 if(*tagArray
== tagValue
)