private.h 513 B

1234567891011121314151617181920212223242526
  1. /*
  2. * command.h
  3. */
  4. #include "clish/command.h"
  5. struct clish_command_s {
  6. char *name;
  7. char *text;
  8. char *viewname;
  9. char *viewid;
  10. char *detail;
  11. char *escape_chars;
  12. char *regex_chars;
  13. char *access;
  14. char *alias_view;
  15. char *alias;
  16. clish_paramv_t *paramv;
  17. clish_action_t *action;
  18. clish_config_t *config;
  19. clish_param_t *args;
  20. const struct clish_command_s *link;
  21. clish_view_t *pview;
  22. bool_t dynamic; /* Is command dynamically created */
  23. bool_t internal; /* Is command internal? Like the "startup" */
  24. };