Go to the source code of this file.
Data Structures | |
struct | cli_commandset |
Defines | |
#define | BOOL int |
#define | FALSE 0 |
#define | TRUE 1 |
Typedefs | |
typedef BOOL | command_t (const char *tail) |
Functions | |
void | cli_add_commandset (struct cli_commandset *cmds) |
const char * | cli_getparam (const char *tail, char **next) |
void | cliMain () |
#define FALSE 0 |
Definition at line 13 of file cmdline.h.
Referenced by cmdCat(), cmdCp(), cmdMkdir(), cmdMkf(), cmdRen(), cmdRm(), and cmdTest1().
#define TRUE 1 |
Definition at line 10 of file cmdline.h.
Referenced by cmdCat(), cmdCp(), cmdFormat(), cmdLs(), cmdMkdir(), cmdMkf(), cmdRen(), cmdRm(), cmdSt(), and cmdTest1().
void cli_add_commandset | ( | struct cli_commandset * | cmds | ) |
const char* cli_getparam | ( | const char * | tail, | |
char ** | next | |||
) |
Definition at line 21 of file cmdline.c.
References NULL.
Referenced by cmdCat(), cmdCp(), cmdFormat(), cmdMkdir(), cmdMkf(), cmdRen(), cmdRm(), cmdSt(), and cmdTest1().
void cliMain | ( | ) |
Definition at line 167 of file cmdline.c.
References cli_add_commandset(), and PROMPT.
Referenced by main().