#define TRUE 1 #define FALSE 0 void initialFileSystem ( ); /* implements the "create" command (one argument; not in standard UNIX) */ void createFile (char *); /* implements the "append" command (one argument; not in standard UNIX) */ void appendFile (char *); /* implements the "mkdir" command (one argument; no options) */ void createDir (char *); /* implements the "cd" command (one argument, no options) */ void newWorkingDir (char *); /* implements the "ln" command (two arguments, no options) */ void createSoftLink (char *, char *); /* implements the "rm" command (one argument, no options) */ void removeFile (char *); /* implements the "rmdir" command (one argument, no options) */ void removeDir (char *); /* implements the "mv" command (two arguments, no options) */ void moveEntry (char * from, char * to); /* implements the "pwd" command (no arguments, no options) */ void printWorkingDir (); /* implements the "ls" command (0 or 1 argument; no options) */ void listWorkingDir (); void listWithinWorkingDir (char *); /* implements the "cat" command (arbitrary number of arguments; no options) */ void listFileContents (char * args); /* implements the "setRead" command (two arguments; not in standard UNIX)*/ void modifyReadable (int, char *); /* implements the "setWrite" command (two arguments; not in standard UNIX)*/ void modifyWritable (int, char *);