private.h 596 B

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