X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Kernel%2Finclude%2Fvfs_int.h;h=c2dacd349771c5e6028c6e92caf42e644636a6f5;hb=HEAD;hp=8ecef3b0eb7b1e0031ca34df683c27ecb24d2a0d;hpb=ee9c3126fc8c693418a9f1216245a0576c0582d4;p=tpg%2Facess2.git diff --git a/Kernel/include/vfs_int.h b/Kernel/include/vfs_int.h deleted file mode 100644 index 8ecef3b0..00000000 --- a/Kernel/include/vfs_int.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Acess Micro - VFS Server Ver 1 - */ -#ifndef _VFS_INT_H -#define _VFS_INT_H - -#include "vfs.h" - -// === TYPES === -typedef struct sVFS_Mount { - struct sVFS_Mount *Next; - char *MountPoint; - size_t MountPointLen; - Uint32 Identifier; - char *Device; - char *Options; - tVFS_Driver *Filesystem; - tVFS_Node *RootNode; - char StrData[]; -} tVFS_Mount; - -typedef struct sVFS_Handle { - tVFS_Node *Node; - tVFS_Mount *Mount; - Uint64 Position; - Uint Mode; -} tVFS_Handle; - -typedef struct sVFS_Proc { - struct sVFS_Proc *Next; - int ID; - int CwdLen; - Uint UID, GID; - char *Cwd; - int MaxHandles; - tVFS_Handle Handles[]; -} tVFS_Proc; - -typedef struct sVFS_MMapPage { - Uint64 FileOffset; - tPAddr PAddr; -} tVFS_MMapPage; - -// === GLOBALS === -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_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); - -#endif