Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
shell.h File Reference
+ Include dependency graph for shell.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef void() shell_cmd_t(shell_stream_t *stream, int argc, const char *const argv[])
 Command handler. More...
 

Functions

void shell_init (void)
 Init shell. More...
 
void shell_add_entry (char *cmd_name, shell_cmd_t *cmd)
 Add new shell entry. More...
 

Detailed Description

Author
Alexandre Bustico alexa.nosp@m.ndre.nosp@m..bust.nosp@m.ico@.nosp@m.enac..nosp@m.fr Simple debug shell

Definition in file shell.h.

Typedef Documentation

◆ shell_cmd_t

typedef void() shell_cmd_t(shell_stream_t *stream, int argc, const char *const argv[])

Command handler.

Definition at line 37 of file shell.h.

Function Documentation

◆ shell_add_entry()

void shell_add_entry ( char *  cmd_name,
shell_cmd_t cmd 
)

Add new shell entry.

maximum number of entry might be limited, see specific implementations

Add new shell entry.

Definition at line 92 of file shell_arch.c.

Referenced by rtos_mon_init_arch().

+ Here is the caller graph for this function:

◆ shell_init()

void shell_init ( void  )

Init shell.

Definition at line 29 of file shell.c.

References shell_init_arch().

+ Here is the call graph for this function: