CLISH  0.7.3
Data Fields
clish_shell_hooks_t Struct Reference

#include <shell.h>

Data Fields

clish_shell_init_fn_tinit_fn
 
clish_shell_access_fn_taccess_fn
 
clish_shell_cmd_line_fn_tcmd_line_fn
 
clish_shell_script_fn_tscript_fn
 
clish_shell_fini_fn_tfini_fn
 
const clish_shell_builtin_tcmd_list
 

Detailed Description

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

Field Documentation

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


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