1
0

private.h 766 B

123456789101112131415161718192021222324252627282930313233343536373839
  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 *escape_chars;
  18. clish_param_t *args;
  19. const struct clish_command_s * link;
  20. clish_view_t *pview;
  21. bool_t lock;
  22. /* ACTION params: */
  23. char *builtin;
  24. char *shebang;
  25. /* CONFIG params:
  26. * TODO: create special structure for CONFIG params.
  27. */
  28. clish_config_operation_t cfg_op;
  29. unsigned short priority;
  30. char *pattern;
  31. char *file;
  32. bool_t splitter;
  33. char *seq;
  34. bool_t unique;
  35. char *cfg_depth;
  36. };