123456789101112131415161718192021222324 |
- /*
- * param.h
- */
- #include "clish/param.h"
- /*---------------------------------------------------------
- * PRIVATE TYPES
- *--------------------------------------------------------- */
- struct clish_paramv_s {
- unsigned paramc;
- clish_param_t **paramv;
- };
- struct clish_param_s {
- char *name;
- char *text;
- char *value;
- clish_ptype_t *ptype; /* The type of this parameter */
- char *defval; /* default value to use for this parameter */
- clish_paramv_t *paramv;
- clish_param_mode_e mode;
- bool_t optional;
- };
|