Lines Matching defs:shell_ctx
835 struct shell_ctx { struct
837 char prompt[CONFIG_SHELL_PROMPT_BUFF_SIZE]; /*!< shell current prompt. */
842 enum shell_state state; /*!< Internal module state.*/
843 enum shell_receive_state receive_state;/*!< Escape sequence indicator.*/
846 struct shell_static_entry active_cmd;
849 const struct shell_static_entry *selected_cmd;
852 struct shell_vt100_ctx vt100_ctx;
857 shell_uninit_cb_t uninit_cb;
860 shell_bypass_cb_t bypass;
863 uint32_t log_level;
867 struct getopt_state getopt;
870 uint16_t cmd_buff_len; /*!< Command length.*/
871 uint16_t cmd_buff_pos; /*!< Command buffer cursor position.*/
873 uint16_t cmd_tmp_buff_len; /*!< Command length in tmp buffer.*/
876 char cmd_buff[CONFIG_SHELL_CMD_BUFF_SIZE];
879 char temp_buff[CONFIG_SHELL_CMD_BUFF_SIZE];
882 char printf_buff[CONFIG_SHELL_PRINTF_BUFF_SIZE];
884 volatile union shell_backend_cfg cfg;
885 volatile union shell_backend_ctx ctx;
887 struct k_poll_signal signals[SHELL_SIGNALS];
892 struct k_poll_event events[SHELL_SIGNALS];
916 struct shell_ctx *ctx; /*!< Internal context.*/ argument