private.h 542 B

123456789101112131415161718192021222324252627
  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. bool_t dynamic; /* Is command dynamically created */
  24. bool_t internal; /* Is command internal? Like the "startup" */
  25. };