Go to the source code of this file.
Defines | |
| #define | CLI_OK_CMD 0 |
| No error. | |
| #define | CLI_INVALID_CMD -1 |
| Invalid command. | |
| #define | CLI_INVALID_ARGS -2 |
| Invalid number of arguments for current command. | |
| #define | CLI_ERR_EXE_CMD -3 |
| Command execution error. | |
| #define | CLI_INVALID_RET_FMT -4 |
| Invalid command return formart. | |
Typedefs | |
| typedef void(* | cli_t )(void) |
| Register command function prototype. | |
| typedef void(* | cli_handshake_t )(KFile *fd) |
| Handshake fuction prototype. | |
Functions | |
| void | cli_poll (KFile *fd) |
| CLI poll function. | |
| void | cli_init (CLI *cli, KFile *ch, cli_t cmds_register, cli_handshake_t handshake, cli_check_t check_newSession) |
| Init CLI module. | |
Detailed Description
Definition in file cli.h.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/bertos_logo.png)