Embedded TCP/IP stack  4.7.0

◆ fnet_shell_get_command_by_name()

const fnet_shell_command_t* fnet_shell_get_command_by_name ( fnet_shell_desc_t  desc,
const fnet_char_t name 
)

Looks for a shell command by its name.

Parameters
descShell service descriptor.
nameCommand name (null-terminated string).
Returns
This function returns:
  • Pointer to the found shell command control structure.
  • FNET_NULL if there is no any command with specified name.
See also
fnet_shell_command_t

This function is looking for a shell command by its name.


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