/* COMMAND.H * header file for the modules in COMMAND.COM * Tim Norman * 7-15-95 */ #define EnvSeg (*(unsigned far*)MK_FP(_psp, 0x2c)) #define OwnerPSP (*(unsigned far *)MK_FP(_psp, 0x16)) /* prototypes for COMMAND.C */ void fatal_error (char *); char is_delim (char); void execute (char *, char *); void command (char *); void parsecommandline (char *); int process_input (void); int c_brk (void); void initialize (int, char *[]); /* prototypes for INTERNAL.C */ int dir(char *, char *); int cd(char *, char *); int md(char *, char *); int rd(char *, char *); int set(char *, char *); int ver(char *, char *); int del(char *, char *); int ren(char *, char *); int internal_exit(char *, char *); int rem(char *, char *); int doskey(char *, char *); int prompt(char *, char *); int path(char *, char *); /* prototypes for ENVIRON.C */ void show_environment (void); /* prototypes from PROMPT.C */ void printprompt (void); /* prototypes for CMDINPUT.C */ void readcommand (char *, int); /* prototypes for BATCH.C */ int batch(char *, char *); int _getch(void); /* prototypes for WHERE.C */ void get_paths (char *[129]); int find_which (char *[129], char *, char *); /* prototypes for EXEC.C */ int exec (const char *, char *, const unsigned); /* prototypes for REDIR.C */ void get_redirection (char *, char *, char *, char *[128], int *); /* prototypes for LOADHIGH.C */ int loadhigh (char *, char *); int loadfix (char *, char *);