struct value_pair {
const char *ival; /* string option */
unsigned int oval; /* output value */
+ const char *help; /* help text for sub option */
};
#define PARSE_MAX_VP 16
const char *help; /* help text for option */
const char *def; /* default setting */
const struct value_pair posval[PARSE_MAX_VP];/* possible values */
+ const char *parent; /* parent option */
};
typedef int (str_cb_fn)(void *, char *);