43#ifndef _SHELL_COMMANDS_H_
44#define _SHELL_COMMANDS_H_
47typedef char (shell_commands_func)(
struct pt *pt, shell_output_func output,
char *args);
50struct shell_command_t {
52 shell_commands_func *func;
56struct shell_command_set_t {
57 struct shell_command_set_t *next;
58 const struct shell_command_t *
const commands;
61void shell_command_set_register(
struct shell_command_set_t *);
62int shell_command_set_deregister(
struct shell_command_set_t *);
63const struct shell_command_t *shell_command_lookup(
const char *);
72typedef void (*shell_command_6top_sub_cmd_t)(shell_output_func output,
74void shell_commands_set_6top_sub_cmd(shell_command_6top_sub_cmd_t sub_cmd);
void shell_commands_init(void)
Initializes Shell-commands module.
Main API declarations for TSCH.