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 » FindNamedObject

NAME

	FindNamedObject -- find the next object of a given name. (V39)

SYNOPSIS

	object = FindNamedObject(nameSpace, name, lastObject);
D0 A0 A1 A2
struct NamedObject *FindNamedObject(struct NamedObject *, STRPTR,
struct NamedObject *);

FUNCTION

	Finds an object and adds to the open count of the object. The
object is guaranteed not to be freed until ReleaseNamedObject() is
called. The name comparison is caseless, using the current
locale string comparison routines.
If name is NULL, then all objects will be matched.
If lastObject is non-NULL, it must be an object from the same
NameSpace found on a previous call to FindNamedObject(). It
will not be freed by this call. The search will start at the
node after lastobject, if non-NULL.
nameSpace is the name space from the named object given
or the root name space if NULL is given.

INPUTS

	nameSpace - the name space to search
name - the name of the object to search for
lastObject - the starting point for the search or NULL

RESULT

	object - the first match found, or NULL for no match

SEE ALSO

ReleaseNamedObject(), <utility/name.h>

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:

Crystal

SPB
TRSI
CSL
KEF

Comments:

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