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


7.6.32.5 optionFindValue

find a hierarcicaly valued option instance

Usage:

const tOptionValue * res = optionFindValue( odesc, name, val );

Where the arguments are:

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

This routine will find an entry in a nested value option or configurable. It will search through the list and return a matching entry.

The returned result is NULL and errno is set: