Usermode/libc - Fix strchr and strrchr behavior
[tpg/acess2.git] / Kernel / include / vfs_int.h
diff --git a/Kernel/include/vfs_int.h b/Kernel/include/vfs_int.h
deleted file mode 100644 (file)
index a8eadb6..0000000
+++ /dev/null
@@ -1,68 +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, 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