Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
shell Struct Reference

Shell instance internals. More...

#include <shell.h>

Public Member Functions

 LOG_INSTANCE_PTR_DECLARE (log)
 

Data Fields

const char * default_prompt
 
const struct shell_transportiface
 
struct shell_ctxctx
 
struct shell_historyhistory
 
enum shell_flag shell_flag
 
const struct shell_fprintffprintf_ctx
 
struct shell_statsstats
 
const struct shell_log_backendlog_backend
 
const char * thread_name
 
struct k_threadthread
 
k_thread_stack_tstack
 

Detailed Description

Shell instance internals.

Member Function Documentation

◆ LOG_INSTANCE_PTR_DECLARE()

shell::LOG_INSTANCE_PTR_DECLARE ( log  )

Field Documentation

◆ ctx

struct shell_ctx* shell::ctx

Internal context.

◆ default_prompt

const char* shell::default_prompt

shell default prompt.

◆ fprintf_ctx

const struct shell_fprintf* shell::fprintf_ctx

◆ history

struct shell_history* shell::history

◆ iface

const struct shell_transport* shell::iface

Transport interface.

◆ log_backend

const struct shell_log_backend* shell::log_backend

◆ shell_flag

enum shell_flag shell::shell_flag

◆ stack

k_thread_stack_t* shell::stack

◆ stats

struct shell_stats* shell::stats

◆ thread

struct k_thread* shell::thread

◆ thread_name

const char* shell::thread_name

The documentation for this struct was generated from the following file: