Table of Contents
FindNextConfMatch - find entries in the CONFLIST database
FindNextConfMatch
traverses the CONFLIST array looking for a match using Lpnt and Dpnt as
a criteria.
The function returns a pointer to a CONFLIST record which matches
and the index value where the match occurred. Subsequent calls to FindNextConfMatch
will find subsequent matches in the array.
This function is part of libmngr.
CONFLIST *FindNextConfMatch (
CONFLIST CFpnt[],
int Size,
int *Idx,
LABEL *Lpnt,
DESC *Dpnt
);
The pointer to the start of the CONFLIST array
the size
of the CONFLIST array.
a pointer to an integer containing the current
array index. The first time this function is called Idx should be initialized
to zero.
a pointer to a LABEL record
a pointer to a DESC record
a CONFLIST pointer is returned on success.
null is returned on failure.
When calling this function the 1st time,
the calling routine must initialize *Idx to zero OR to the desired offset
in the CONFLIST array.
Subsequent calls will reuse the value of Idx.
If the
end of the array is reached w/o finding a match NULL is returned and Idx
is set to -1;
libmngr(3mngr)
$Id: FindNextConfMatch.3,v
1.1 2002/04/07 18:35:52 kitchen Exp $
Table of Contents