man3mngr/rmt_FindNextConfMatch
Table of Contents
rmt_FindNextConfMatch - find entries in the CONFLIST database
rmt_FindNextConfMatch
traverses the
CONFLIST array looking for a match using a Label and RefName
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
rmt_FindNextConfMatch will find subsequent matches in the array.
This function
is part of libmngr.
CONFLIST *rmt_FindNextConfMatch (
CONFLIST CFpnt[],
int Size,
int *Idx,
char *L,
char *D
);
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 Label
a RefName
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: rmt_FindNextConfMatch.3,v
1.1 2002/04/07 18:35:52 kitchen Exp $
Table of Contents