Make tests public. Rewrite most tests. Add tests.
[pintos-anon] / src / filesys / fsutil.h
index 307e37d1d1ce791638a245fd3915c52270d0837d..abebfe2e15bd5de697477fdb4c57c1c1df037356 100644 (file)
@@ -1,16 +1,10 @@
 #ifndef FILESYS_FSUTIL_H
 #define FILESYS_FSUTIL_H
 
-#include <stdbool.h>
-
-extern char *fsutil_copyin_file;
-extern int fsutil_copyin_size;
-extern char *fsutil_copyout_file;
-extern char *fsutil_print_file;
-extern char *fsutil_remove_file;
-extern bool fsutil_list_files;
-
-void fsutil_run (void);
-void fsutil_print (const char *filename);
+void fsutil_ls (char **argv);
+void fsutil_cat (char **argv);
+void fsutil_rm (char **argv);
+void fsutil_put (char **argv);
+void fsutil_get (char **argv);
 
 #endif /* filesys/fsutil.h */