Go to the documentation of this file.00001
00007 #ifndef SHELLUTILS_H
00008 #define SHELLUTILS_H
00009
00010
00011 #include <stdbool.h>
00012
00013
00015 typedef struct {
00016 char *inFile;
00018 char *outFile;
00020 bool background;
00022 const char *parseError;
00025 char *cmdLine;
00027 char **argv;
00029 } ShCommand;
00030
00031
00036 void shPrompt(void);
00037
00038
00059 ShCommand *shParseCmdLine(char cmdLine[]);
00060
00067 void shPrintStatus(const char cmdLine[], int status);
00068
00069
00070 #endif