man3mngr/FindConfMatch2

Table of Contents

Name

FindConfMatch2 - find an entry in the CONFLIST database

Description

FindConfMatch2 traverses the CONFLIST array looking for a LabelPnt and DescPnt and Group and Function code match. It returns a pointer to the first CONFLIST record where a match was found.

This function is part of libmngr.

Syntax

CONFLIST *FindConfMatch (
   CONFLIST CFpnt[],

   int Size,

   int Group,

   int Function,

   LABEL *Lpnt,

   DESC *Dpnt

   );

Arguments

CFpnt

The pointer to the start of the CONFLIST array

Size

the size of the CONFLIST array.

Group, Function

The key values used in the array search.

Lpnt

a pointer to a LABEL record

Dpnt

a pointer to a DESC record

Return Value

a pointer to the CONFLIST record is returned on success.
null is returned on failure.

Notes

There may be more than one match in the array due to different index values. At this time there isn’t a function equivalent to FindNextConfMatch() for further searching the array for more matches.

See Also

libmngr(3mngr)

Manual page revision

$Id: FindConfMatch2.3,v 1.1 2002/04/07 18:35:52 kitchen Exp $


Table of Contents