private.h 671 B

12345678910111213141516171819202122232425262728293031323334
  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. char *action;
  14. clish_view_t *view;
  15. char *viewid;
  16. char *detail;
  17. char *builtin;
  18. char *escape_chars;
  19. clish_param_t *args;
  20. bool_t link;
  21. clish_view_t *pview;
  22. /* CONFIG params:
  23. * TODO: create special structure for CONFIG params.
  24. */
  25. clish_config_operation_t cfg_op;
  26. unsigned short priority;
  27. char *pattern;
  28. char *file;
  29. bool_t splitter;
  30. char *seq;
  31. bool_t unique;
  32. };