Embedded TCP/IP stack: fnet_shell_cmd_function_t

FNET

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 173 of file fnet_shell.h.


© 2005-2018 by Andrey Butok. http://fnet.sourceforge.net