Skip to content

Struct WshShell_t

ClassList > WshShell_t

Main shell structure containing state, configuration, user context, and subsystems.

  • #include <wsh_shell.h>

Public Attributes

Type Name
WshShellIO_CommandLine_t CommandLine
WshShellCmd_Table_t Commands
const WshShellUser_t * CurrUser
WshShell_Char_t DeviceName
WshShellEsc_Storage_t EscStorage
WshShell_ExtCallbacks_t ExtCallbacks
WshShellHistory_IO_t HistoryIO
WshShell_Interact_t Interact
WshShell_Char_t PS1
WshShell_Char_t PrevSym
WshShellPromptWait_t PromptWait
WshShell_AuthCtx_t TmpAuth
WshShellUser_Table_t Users
WshShell_Char_t * Version

Public Attributes Documentation

variable CommandLine

WshShellIO_CommandLine_t WshShell_t::CommandLine;

Terminal input/output interface.


variable Commands

WshShellCmd_Table_t WshShell_t::Commands;

Registered command table.


variable CurrUser

const WshShellUser_t* WshShell_t::CurrUser;

Currently authenticated user.


variable DeviceName

WshShell_Char_t WshShell_t::DeviceName[WSH_SHELL_DEV_NAME_LEN];

Device name (used in PS1 and more).


variable EscStorage

WshShellEsc_Storage_t WshShell_t::EscStorage;

Escape sequence state storage.


variable ExtCallbacks

WshShell_ExtCallbacks_t WshShell_t::ExtCallbacks;

Optional external auth callbacks.


variable HistoryIO

WshShellHistory_IO_t WshShell_t::HistoryIO;

Command history buffer and ops.


variable Interact

WshShell_Interact_t WshShell_t::Interact;

Interactive command interface.


variable PS1

WshShell_Char_t WshShell_t::PS1[WSH_SHELL_PS1_MAX_LEN];

Cached PS1 string.


variable PrevSym

WshShell_Char_t WshShell_t::PrevSym;

Previous symbol inserted in.


variable PromptWait

WshShellPromptWait_t WshShell_t::PromptWait;

variable TmpAuth

WshShell_AuthCtx_t WshShell_t::TmpAuth;

Temporary auth input storage.


variable Users

WshShellUser_Table_t WshShell_t::Users;

Table of available users.


variable Version

WshShell_Char_t* WshShell_t::Version;

Version string.



The documentation for this class was generated from the following file src/wsh_shell.h