a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Libraries:
 utility.library
  AddNamedObject
  AllocNamedObjectA
  AllocateTagItems
  Amiga2Date
  ApplyTagChanges
  AttemptRemNamedObject
  CallHookPkt
  CheckDate
  CloneTagItems
  Date2Amiga
  FilterTagChanges
  FilterTagItems
  FindNamedObject
  FindTagItem
  FreeNamedObject
  FreeTagItems
  GetTagData
  GetUniqueID
  MapTags
  NamedObjectName
  NextTagItem
  PackBoolTags
  PackStructureTags
  RefreshTagItemClones
  ReleaseNamedObject
  RemNamedObject
  SDivMod32
  SMult32
  SMult64
  Stricmp
  Strnicmp
  TagInArray
  ToLower
  ToUpper
  UDivMod32
  UMult32
  UMult64
  UnpackStructureTags
Include
GuruMeditation
Docs » Autodocs » utility.library » FilterTagItems

NAME

	FilterTagItems -- remove selected items from a tag list. (V36)

SYNOPSIS

	numValid = FilterTagItems(tagList,filterArray,logic);
D0 A0 A1 D0
ULONG FilterTagItems(struct TagItem *,Tag *,ULONG);

FUNCTION

	Removes tag items from a tag list (by changing ti_Tag to
TAG_IGNORE) depending on whether its ti_Tag value is
found in an array of tag values.
If the 'logic' parameter is TAGFILTER_AND, then all items
not appearing in 'tagArray' are excluded from 'tagList'.
If 'logic' is TAGFILTER_NOT, then items not found in 'tagArray'
are preserved, and the ones in the array are cast out.

INPUTS

	tagList	- input list of tag items which is to be filtered by having
selected items changed to TAG_IGNORE.
filterArray - an array of tag values, terminated by TAG_DONE, as
specified in the documentation for TagInArray().
logic - specification whether items in 'tagArray' are to be included
or excluded in the filtered result.

RESULT

	numValid - number of valid items left in resulting filtered list.

SEE ALSO

<utility/tagitem.h>, TagInArray()

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Alpha Flight 1970

AFL
SNT
ATX
AOA

Comments:

$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se