private.h 628 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * command.h
  3. */
  4. #include "clish/command.h"
  5. /*---------------------------------------------------------
  6. * PRIVATE TYPES
  7. *--------------------------------------------------------- */
  8. struct clish_command_s {
  9. lub_bintree_node_t bt_node;
  10. char *name;
  11. char *text;
  12. clish_paramv_t *paramv;
  13. clish_action_t *action;
  14. clish_config_t *config;
  15. clish_view_t *view;
  16. char *viewid;
  17. char *detail;
  18. char *escape_chars;
  19. clish_param_t *args;
  20. const struct clish_command_s *link;
  21. clish_view_t *alias_view;
  22. char *alias;
  23. clish_view_t *pview;
  24. bool_t lock;
  25. bool_t interrupt;
  26. bool_t dynamic; /* Is command dynamically created */
  27. };