Modules/Ext2 - Adding inode creation/writeback on file close
[tpg/acess2.git] / KernelLand / Modules / Filesystems / NTFS / main.c
index dbda06e..b9c4b8d 100644 (file)
 #include "common.h"
 #include <modules.h>
 
-// === IMPORTS ===
-extern char    *NTFS_ReadDir(tVFS_Node *Node, int Pos);
-extern tVFS_Node       *NTFS_FindDir(tVFS_Node *Node, const char *Name);
-
 // === PROTOTYPES ===
  int   NTFS_Install(char **Arguments);
 tVFS_Node      *NTFS_InitDevice(const char *Devices, const char **Options);
@@ -23,7 +19,12 @@ void NTFS_DumpEntry(tNTFS_Disk *Disk, Uint32 Entry);
 
 // === GLOBALS ===
 MODULE_DEFINE(0, 0x0A /*v0.1*/, FS_NTFS, NTFS_Install, NULL);
-tVFS_Driver    gNTFS_FSInfo = {"ntfs", 0, NTFS_InitDevice, NTFS_Unmount, NULL};
+tVFS_Driver    gNTFS_FSInfo = {
+       .Name = "ntfs",
+       .InitDevice = NTFS_InitDevice,
+       .Unmount = NTFS_Unmount,
+       .GetNodeFromINode = NULL
+};
 tVFS_NodeType  gNTFS_DirType = {
        .TypeName = "NTFS-File",
        .ReadDir = NTFS_ReadDir,

UCC git Repository :: git.ucc.asn.au