1
0

private.h 715 B

1234567891011121314151617181920212223242526272829303132
  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. char *access;
  21. clish_param_t *args;
  22. const struct clish_command_s *link;
  23. char *alias_view;
  24. char *alias;
  25. clish_view_t *pview;
  26. bool_t lock;
  27. bool_t interrupt;
  28. bool_t dynamic; /* Is command dynamically created */
  29. bool_t internal; /* Is command internal? Like the "startup" */
  30. };