2 * Acess Micro - VFS Server Ver 1
11 typedef struct sVFS_Mount {
12 struct sVFS_Mount *Next;
18 tVFS_Driver *Filesystem;
26 typedef struct sVFS_Handle {
33 typedef struct sVFS_Proc {
34 struct sVFS_Proc *Next;
40 tVFS_Handle Handles[];
43 typedef struct sVFS_MMapPage {
49 extern tRWLock glVFS_MountList;
50 extern tVFS_Mount *gVFS_Mounts;
54 extern char *VFS_GetAbsPath(const char *Path);
55 extern tVFS_Node *VFS_ParsePath(const char *Path, char **TruePath, tVFS_Mount **MountPoint);
56 extern tVFS_Handle *VFS_GetHandle(int FD);
58 extern int VFS_CheckACL(tVFS_Node *Node, Uint Permissions);
60 extern tVFS_Mount *VFS_GetMountByIdent(Uint32 MountID);
62 extern int VFS_MkNod(const char *Path, Uint Flags);
65 // --- VFS Helpers ---
66 static inline void _CloseNode(tVFS_Node *Node)
68 if(Node && Node->Type && Node->Type->Close)
69 Node->Type->Close( Node );