Embedded TCP/IP stack  4.7.0

◆ fnet_shell_cmd_function_t

typedef void(* fnet_shell_cmd_function_t) (fnet_shell_desc_t desc, fnet_index_t argc, fnet_char_t **argv)

Command callback function prototype.

Parameters
descShell descriptor.
srgcThis parameter is a count of the arguments supplied to the command function.
It is equal to 1 when the command was entered without any argument.
srgvThis parameter is an array of pointers to the strings which are the command arguments. The first array element points to the command name.

Definition at line 172 of file fnet_shell.h.


© 2005-2020 by Andrej Butok. http://fnet.sourceforge.net