X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Kernel%2Finclude%2Fvfs_int.h;h=4961f085bff131a747690bd49d2255193be17df6;hb=02b341123f87f8a395c3cb10d390ae54a7fc53fd;hp=0d6b3b5dcc09f81e196b6b82d7d581b583f2ff39;hpb=8b7dec58d79aad0ba8467a15c353eade8ad5592b;p=tpg%2Facess2.git diff --git a/Kernel/include/vfs_int.h b/Kernel/include/vfs_int.h index 0d6b3b5d..4961f085 100644 --- a/Kernel/include/vfs_int.h +++ b/Kernel/include/vfs_int.h @@ -10,7 +10,8 @@ typedef struct sVFS_Mount { struct sVFS_Mount *Next; char *MountPoint; - int MountPointLen; + size_t MountPointLen; + Uint32 Identifier; char *Device; char *Options; tVFS_Driver *Filesystem; @@ -44,11 +45,13 @@ typedef struct sVFS_MMapPage { extern tVFS_Mount *gVFS_Mounts; // === PROTOTYPES === -// --- OPEN.C --- +// --- 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 --- +// --- acls.c --- extern int VFS_CheckACL(tVFS_Node *Node, Uint Permissions); +// --- mount.c --- +extern tVFS_Mount *VFS_GetMountByIdent(Uint32 MountID); #endif