Zephyr API Documentation 4.0.0-rc3
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
shell Struct Reference

Shell instance internals. More...

#include <shell.h>

Public Member Functions

 LOG_INSTANCE_PTR_DECLARE (log)
 

Data Fields

const char * default_prompt
 shell default prompt.
 
const struct shell_transportiface
 Transport interface.
 
struct shell_ctxctx
 Internal context.
 
struct shell_historyhistory
 
enum shell_flag shell_flag
 
const struct shell_fprintffprintf_ctx
 
struct shell_statsstats
 
const struct shell_log_backendlog_backend
 
const char * 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

◆ name

const char* shell::name

◆ 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

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