# modules/uip/apps/telnetd/shell.c File Reference

`#include "shell.h"`
`#include <string.h>`

## Data Structures
struct | ptentry
## Defines
#define | SHELL_PROMPT "uIP 1.0> "
## Functions
void | shell_init (void)
void | shell_start (void)
void | shell_input (char *cmd)

## Define Documentation

#define SHELL_PROMPT "uIP 1.0> "

## Function Documentation

void shell_init | ( | void |  | ) |

Initialize the shell.

Called when the shell front-end process starts. This function may be used to start listening for signals.

void shell_input | ( | char * | command | ) |

Process a shell command.

This function will be called by the shell GUI / telnet server whan a command has been entered that should be processed by the shell back-end.

Parameters:

  | command | The command to be processed.

Here is the call graph for this function:

void shell_start | ( | void |  | ) |

Start the shell back-end.

Called by the front-end when a new shell is started.

Here is the call graph for this function: