Changeset 527 for Whitix/branches/hybrid
- Timestamp:
- 05/24/08 09:50:58 (3 months ago)
- Files:
-
- 1 modified
-
Whitix/branches/hybrid/include/fs/vfs.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
Whitix/branches/hybrid/include/fs/vfs.h
r333 r527 22 22 #define VFS_H 23 23 24 /* VFS includes. */ 25 #include <fs/exports.h> 26 24 27 #include <llist.h> 25 28 #include <sdevice.h> … … 65 68 /* Mount functions (super.c) */ 66 69 int VfsMount(char* mountPoint,char* deviceName,char* fsName,void* mData); 67 int SysMount(char* mountPoint,char* deviceName,char* fsName,void* data);68 int SysUnmount(char* mountPoint);69 70 struct VfsSuperBlock* VfsAllocSuper(struct StorageDevice* sDev,int flags); 70 71 void VfsFreeSuper(struct VfsSuperBlock* superBlock); … … 85 86 86 87 int VfsChangeDir(struct Process* process,char* dirName); 87 88 int SysMakeDir(char* pathName);89 int SysChangeDir(char* dirName);90 int SysChangeRoot(char* dirName);91 int SysFileSystemSync();92 int SysGetDirEntries(int fd,void* entries,size_t count);93 int SysSeek(int fd,int distance,int whence);94 int SysRemove(char* pathName);95 96 /* Implement these */97 int SysFileAccess(char* path,int mode);98 int SysRemoveDir(char* path);99 int SysTruncate(int fd,size_t length);100 int SysMove(char* src,char* dest);101 88 102 89 /* vNode time functions */ … … 234 221 struct VNode* mount; 235 222 int flags; 236 struct ListHead vNodeList, sbList;223 struct ListHead vNodeList, sbList; 237 224 }; 238 225
