Permalink
Browse files

Added userFile and sysFile

  • Loading branch information...
1 parent 2bc7002 commit f3bd970afec93114cd732973ac1dee0f148b2b20 @harrypresman committed May 4, 2011
Showing with 21 additions and 0 deletions.
  1. +11 −0 userprog/sysOpenFile.h
  2. +10 −0 userprog/userOpenFile.h
@@ -0,0 +1,11 @@
+#ifndef SYS_OPEN_FILE_H
+#define SYS_OPEN_FILE_H
+
+class SysOpenFile {
+ OpenFileId* openFile;
+ FileID fd;
+ char* fileName;
+ int numUsers;
+};
+
+#endif
@@ -0,0 +1,10 @@
+#ifndef USER_OPEN_FILE_H
+#define USER_OPEN_FILE_H
+
+class UserOpenFile{
+ char* fileName;
+ SysOpenFile* openFile;
+ int position;
+};
+
+#endif

0 comments on commit f3bd970

Please sign in to comment.