Searched refs:odesc (Results 1 – 4 of 4) sorted by relevance
127 optionFindValue(const tOptDesc * odesc, char const * name, char const * val) in optionFindValue() argument131 if ( (odesc == NULL) in optionFindValue()132 || (OPTST_GET_ARGTYPE(odesc->fOptState) != OPARG_TYPE_HIERARCHY)) { in optionFindValue()136 else if (odesc->optCookie == NULL) { in optionFindValue()141 tArgList * argl = odesc->optCookie; in optionFindValue()204 optionFindNextValue(const tOptDesc * odesc, const tOptionValue * pPrevVal, in optionFindNextValue() argument213 if ( (odesc == NULL) in optionFindNextValue()214 || (OPTST_GET_ARGTYPE(odesc->fOptState) != OPARG_TYPE_HIERARCHY)) { in optionFindNextValue()218 else if (odesc->optCookie == NULL) { in optionFindNextValue()223 tArgList * argl = odesc->optCookie; in optionFindNextValue()[all …]
285 s = optstring(s, &str, printopt, o->odesc[1]); in scan_option()476 if (o->ovar != NULL && o->odesc[*(o->ovar)] != NULL) in toggle_option()477 error(o->odesc[*(o->ovar)], NULL_PARG); in toggle_option()484 if (o->odesc[1] != NULL) in toggle_option()487 error(o->odesc[1], &parg); in toggle_option()533 return (o->odesc[0]); in opt_prompt()
67 constant char *odesc[3]; /* Description of each value */ member
906 o->odesc[i] = (o->odescid[i] == LM_NULL) ? NULL : lmsg(o->odescid[i]); in init_option()