Next: , Previous: , Up: libopts External Procedures   [Contents][Index]


7.6.32.4 optionFindNextValue

find a hierarcicaly valued option instance

Usage:

const tOptionValue * res = optionFindNextValue( odesc, pPrevVal, name, value );

Where the arguments are:

NameTypeDescription
—–—–————-
odescconst tOptDesc *an option with a nested arg type
pPrevValconst tOptionValue *the last entry
namechar const *name of value to find
valuechar const *the matching value
returnsconst tOptionValue *a compound value structure

This routine will find the next entry in a nested value option or configurable. It will search through the list and return the next entry that matches the criteria.

The returned result is NULL and errno is set: