[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ] optionNextValue

get the next value from a hierarchical list


const tOptionValue * res = optionNextValue( pOptValue, pOldValue );

Where the arguments are:

pOptValueconst tOptionValue *a hierarchcal list value
pOldValueconst tOptionValue *a value from this list
returnsconst tOptionValue *a compound value structure

This routine will return the next entry after the entry passed in. At the end of the list, NULL will be returned. If the entry is not found on the list, NULL will be returned and "errno" will be set to EINVAL. The "pOldValue" must have been gotten from a prior call to this routine or to "opitonGetValue()".

The returned result is NULL and errno is set:

This document was generated by Bruce Korb on August 21, 2015 using texi2html 1.82.