Skip to content

Struct WshShellHistory_IO_t

ClassList > WshShellHistory_IO_t

Structure holding function pointers for history persistence I/O. More...

  • #include <wsh_shell_history.h>

Public Attributes

Type Name
WshShellHistory_ReadHandler_t Read
WshShellHistory_WriteHandler_t Write

Detailed Description

This allows the shell history system to remain storage-agnostic by delegating read/write responsibilities to external code (e.g., flash drivers, NVM emulation).

Public Attributes Documentation

variable Read

WshShellHistory_ReadHandler_t WshShellHistory_IO_t::Read;

Callback for loading saved history.


variable Write

WshShellHistory_WriteHandler_t WshShellHistory_IO_t::Write;

Callback for saving current history.



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