ReactOS 0.4.16-dev-814-g656a5dc
|
Go to the source code of this file.
Classes | |
struct | command |
Macros | |
#define | MAX_PARM_COUNT 3 |
#define | MAX_TOKEN_COUNT (MAX_PARM_COUNT+2) |
#define | HISTLENGTH 25 |
Enumerations | |
enum | { BAD_USAGE = -3 , EMPTY_LINE = -2 , INVALID_CMD = -1 , __FIRST_COMMAND = 0 , OPEN = __FIRST_COMMAND , CLOSE , KEYS , QUIT , HELP , HELP2 , K_LOAD , K_SWITCH , K_DISPLAY , SET , SUSPEND , FASTQUIT , CMD_HISTORY , CLEAR_HISTORY , ALIASES , __COMMAND_LIST_SIZE } |
Functions | |
int | telCommandLine (Telnet &MyConnection) |
void | waitforkey () |
struct cmdHistory * | cfgets (char *buf, unsigned int length, struct cmdHistory *cmdhist) |
int | main (int ArgC, char *ArgV[]) |
static int | cmdMatch (const char *cmd, const char *token, int tokenLen, int minM) |
static void | printUsage (int cmd) |
int | tokenizeCommand (char *szCommand, int &argc, char **argv) |
Variables | |
command | cmdList [__COMMAND_LIST_SIZE] |
#define HISTLENGTH 25 |
#define MAX_PARM_COUNT 3 |
Definition at line 463 of file tnmain.cpp.
#define MAX_TOKEN_COUNT (MAX_PARM_COUNT+2) |
Definition at line 464 of file tnmain.cpp.
anonymous enum |
Enumerator | |
---|---|
BAD_USAGE | |
EMPTY_LINE | |
INVALID_CMD | |
__FIRST_COMMAND | |
OPEN | |
CLOSE | |
KEYS | |
QUIT | |
HELP | |
HELP2 | |
K_LOAD | |
K_SWITCH | |
K_DISPLAY | |
SET | |
SUSPEND | |
FASTQUIT | |
CMD_HISTORY | |
CLEAR_HISTORY | |
ALIASES | |
__COMMAND_LIST_SIZE |
Definition at line 396 of file tnmain.cpp.
struct cmdHistory * cfgets | ( | char * | buf, |
unsigned int | length, | ||
struct cmdHistory * | cmdhist | ||
) |
Definition at line 69 of file tnmain.cpp.
Referenced by telCommandLine().
Definition at line 466 of file tnmain.cpp.
Referenced by tokenizeCommand().
Definition at line 317 of file tnmain.cpp.
Definition at line 480 of file tnmain.cpp.
Definition at line 567 of file tnmain.cpp.
Referenced by main().
Definition at line 492 of file tnmain.cpp.
Referenced by telCommandLine().
void waitforkey | ( | ) |
Definition at line 51 of file tnmain.cpp.
command cmdList[__COMMAND_LIST_SIZE] |
Definition at line 435 of file tnmain.cpp.
Referenced by printUsage(), and tokenizeCommand().