CLISH
0.7.3
|
#include <shell.h>
A client of libclish will provide hooks for the control of the CLI within a particular system. They will populate an instance of this structure and pass it into the
clish_shell_access_fn_t* clish_shell_hooks_t::access_fn |
Access control call
clish_shell_cmd_line_fn_t* clish_shell_hooks_t::cmd_line_fn |
Command line logging call
const clish_shell_builtin_t* clish_shell_hooks_t::cmd_list |
NULL terminated list
clish_shell_fini_fn_t* clish_shell_hooks_t::fini_fn |
Finalisation call
clish_shell_init_fn_t* clish_shell_hooks_t::init_fn |
Initialisation call
clish_shell_script_fn_t* clish_shell_hooks_t::script_fn |
script evaluation call