// === 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