X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Modules%2FFilesystems%2FNTFS%2Fdir.c;fp=Modules%2FFilesystems%2FNTFS%2Fdir.c;h=0000000000000000000000000000000000000000;hb=48743e39650eb1ef988380e9d95f27fd40d3a9ce;hp=37661e82071c3b77063e2fbb4188725411969e19;hpb=a2495c6ea4f4cab16b5d339ae511428e92e89e73;p=tpg%2Facess2.git diff --git a/Modules/Filesystems/NTFS/dir.c b/Modules/Filesystems/NTFS/dir.c deleted file mode 100644 index 37661e82..00000000 --- a/Modules/Filesystems/NTFS/dir.c +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Acess2 - NTFS Driver - * By John Hodge (thePowersGang) - * This file is published under the terms of the Acess licence. See the - * file COPYING for details. - * - * dir.c - Directory Handling - */ -#include "common.h" -#include "index.h" - -// === PROTOTYPES === -char *NTFS_ReadDir(tVFS_Node *Node, int Pos); -tVFS_Node *NTFS_FindDir(tVFS_Node *Node, const char *Name); -Uint64 NTFS_int_IndexLookup(Uint64 Inode, const char *IndexName, const char *Str); - -// === CODE === -/** - * \brief Get the name of an indexed directory entry - */ -char *NTFS_ReadDir(tVFS_Node *Node, int Pos) -{ - return NULL; -} - -/** - * \brief Get an entry from a directory by name - */ -tVFS_Node *NTFS_FindDir(tVFS_Node *Node, const char *Name) -{ - tNTFS_Disk *disk = Node->ImplPtr; - Uint64 inode = NTFS_int_IndexLookup(Node->Inode, "$I30", Name); - tVFS_Node node; - - if(!inode) return NULL; - - node.Inode = inode; - - return Inode_CacheNode(disk->CacheHandle, &node); -} - -/** - * \brief Scans an index for the requested value and returns the associated ID - */ -Uint64 NTFS_int_IndexLookup(Uint64 Inode, const char *IndexName, const char *Str) -{ - return 0; -}