private.h 644 B

123456789101112131415161718192021222324252627282930
  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. char *viewname;
  16. char *viewid;
  17. char *detail;
  18. char *escape_chars;
  19. char *regex_chars;
  20. clish_param_t *args;
  21. const struct clish_command_s *link;
  22. clish_view_t *alias_view;
  23. char *alias;
  24. clish_view_t *pview;
  25. bool_t lock;
  26. bool_t interrupt;
  27. bool_t dynamic; /* Is command dynamically created */
  28. };