Fixed support for indeterminate sized directories
[tpg/acess2.git] / Kernel / include / vfs.h
index 12cc8a4..cbec140 100644 (file)
@@ -80,12 +80,15 @@ typedef struct sVFS_Driver {
        char    *Name;
        Uint    Flags;
        tVFS_Node       *(*InitDevice)(char *Device, char *Options);
+       void    (*Unmount)(tVFS_Node *Node);
        struct sVFS_Driver      *Next;
 } tVFS_Driver;
 
 // === GLOBALS ===
+#define        VFS_MAXSKIP     ((void*)1024)
 #define        VFS_SKIP        ((void*)1)
 #define        VFS_SKIPN(n)    ((void*)(n))
+#define VFS_FREEPLZ(ptr)       ((void*)(((Uint)ptr)|1))
 extern tVFS_Node       NULLNode;
 extern tVFS_ACL        gVFS_ACL_EveryoneRWX;
 extern tVFS_ACL        gVFS_ACL_EveryoneRW;

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