shell_command_t Struct Reference

A single command in the list of the supported commands. More...

Detailed Description

A single command in the list of the supported commands.

The list of commands is NULL terminated, i.e. the last element must be { NULL, NULL, NULL }.

Definition at line 132 of file shell.h.

#include <shell.h>

Data Fields

const char * name
 Name of the function.
 
const char * desc
 Description to print in the "help" command.
 
shell_command_handler_t handler
 The callback function.
 

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