* 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, char *Name);
+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 an entry from a directory by name
*/
-tVFS_Node *NTFS_FindDir(tVFS_Node *Node, char *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);