12345678910111213141516171819202122232425262728293031323334 |
- /*
- * command.h
- */
- #include "clish/command.h"
- /*---------------------------------------------------------
- * PRIVATE TYPES
- *--------------------------------------------------------- */
- struct clish_command_s {
- lub_bintree_node_t bt_node;
- char *name;
- char *text;
- clish_paramv_t *paramv;
- char *action;
- clish_view_t *view;
- char *viewid;
- char *detail;
- char *builtin;
- char *escape_chars;
- clish_param_t *args;
- bool_t link;
- clish_view_t *pview;
- /* CONFIG params:
- * TODO: create special structure for CONFIG params.
- */
- clish_config_operation_t cfg_op;
- unsigned short priority;
- char *pattern;
- char *file;
- bool_t splitter;
- bool_t seq;
- char *seq_num;
- };
|