Kernel - Slight reworks to timer code
[tpg/acess2.git] / Kernel / include / vfs_int.h
index 8ecef3b..a8eadb6 100644 (file)
@@ -47,11 +47,22 @@ extern tVFS_Mount   *gVFS_Mounts;
 // === PROTOTYPES ===
 // --- open.c ---
 extern char    *VFS_GetAbsPath(const char *Path);
-extern tVFS_Node       *VFS_ParsePath(const char *Path, char **TruePath);
+extern tVFS_Node       *VFS_ParsePath(const char *Path, char **TruePath, tVFS_Mount **MountPoint);
 extern tVFS_Handle     *VFS_GetHandle(int FD);
 // --- acls.c ---
 extern int     VFS_CheckACL(tVFS_Node *Node, Uint Permissions);
 // --- mount.c ---
 extern tVFS_Mount      *VFS_GetMountByIdent(Uint32 MountID);
+// --- dir.c ---
+extern int     VFS_MkNod(const char *Path, Uint Flags);
+
+
+// --- VFS Helpers ---
+static inline void _CloseNode(tVFS_Node *Node)
+{
+       if(Node && Node->Type && Node->Type->Close)
+               Node->Type->Close( Node );
+}
+
 
 #endif

UCC git Repository :: git.ucc.asn.au