private.h 495 B

1234567891011121314151617181920212223
  1. /*
  2. * param.h
  3. */
  4. #include "clish/param.h"
  5. /*---------------------------------------------------------
  6. * PRIVATE TYPES
  7. *--------------------------------------------------------- */
  8. struct clish_paramv_s {
  9. unsigned paramc;
  10. clish_param_t **paramv;
  11. };
  12. struct clish_param_s {
  13. char *name;
  14. char *text;
  15. clish_ptype_t *ptype; /* The type of this parameter */
  16. char *defval; /* default value to use for this parameter */
  17. clish_paramv_t *paramv;
  18. clish_param_mode_e mode;
  19. bool_t optional;
  20. };