Lines Matching refs:shell

109 struct shell;
196 typedef int (*shell_cmd_handler)(const struct shell *sh,
212 typedef int (*shell_dict_cmd_handler)(const struct shell *sh, size_t argc,
565 const struct shell *sh, size_t argc, char **argv) \
650 typedef void (*shell_uninit_cb_t)(const struct shell *sh, int res);
658 typedef void (*shell_bypass_cb_t)(const struct shell *sh,
912 struct shell { struct
951 static const struct shell _name; \
956 LOG_INSTANCE_REGISTER(shell, _name, CONFIG_SHELL_LOG_LEVEL); \
960 static const STRUCT_SECTION_ITERABLE(shell, _name) = { \
969 LOG_INSTANCE_PTR_INIT(log, shell, _name).name = \
1005 int shell_init(const struct shell *sh, const void *transport_config,
1015 void shell_uninit(const struct shell *sh, shell_uninit_cb_t cb);
1024 int shell_start(const struct shell *sh);
1033 int shell_stop(const struct shell *sh);
1071 void __printf_like(3, 4) shell_fprintf_impl(const struct shell *sh, enum shell_vt100_color color,
1088 void shell_vfprintf(const struct shell *sh, enum shell_vt100_color color,
1106 void shell_hexdump_line(const struct shell *sh, unsigned int offset,
1116 void shell_hexdump(const struct shell *sh, const uint8_t *data, size_t len);
1129 void __printf_like(2, 3) shell_fprintf_info(const struct shell *sh, const char *fmt, ...);
1142 void __printf_like(2, 3) shell_fprintf_normal(const struct shell *sh, const char *fmt, ...);
1155 void __printf_like(2, 3) shell_fprintf_warn(const struct shell *sh, const char *fmt, ...);
1168 void __printf_like(2, 3) shell_fprintf_error(const struct shell *sh, const char *fmt, ...);
1176 void shell_process(const struct shell *sh);
1187 int shell_prompt_change(const struct shell *sh, const char *prompt);
1197 void shell_help(const struct shell *sh);
1219 int shell_execute_cmd(const struct shell *sh, const char *cmd);
1242 void shell_set_bypass(const struct shell *sh, shell_bypass_cb_t bypass);
1251 bool shell_ready(const struct shell *sh);
1263 int shell_insert_mode_set(const struct shell *sh, bool val);
1276 int shell_use_colors_set(const struct shell *sh, bool val);
1288 int shell_use_vt100_set(const struct shell *sh, bool val);
1300 int shell_echo_set(const struct shell *sh, bool val);
1313 int shell_obscure_set(const struct shell *sh, bool obscure);
1326 int shell_mode_delete_set(const struct shell *sh, bool val);
1335 int shell_get_return_value(const struct shell *sh);