ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

tnmain.cpp File Reference
#include "precomp.h"

Go to the source code of this file.

Data Structures

struct  command

Defines

#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 cmdHistorycfgets (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]

Generated on Sun May 27 2012 04:42:57 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.