Usermode/libaxwin4 - Handle demarshal failure
[tpg/acess2.git] / KernelLand / Modules / Storage / LVM / lvm_int.h
index 7f528d9..a2d1f5d 100644 (file)
@@ -8,23 +8,37 @@
 #ifndef _LVM_LVM_INT_H_
 #define _LVM_LVM_INT_H_
 
+#include "include/lvm.h"
 #include "lvm.h"
 #include <vfs.h>
+#include <iocache.h>
 
 typedef struct sLVM_SubVolume  tLVM_SubVolume;
 
+enum eLVM_BackType
+{
+       LVM_BACKING_VFS,
+       LVM_BACKING_PTRS
+};
+
 struct sLVM_Vol
 {
        tLVM_Vol        *Next;
        
-       tVFS_Node       Node;
-       
-        int    BackingDescriptor;
+       tVFS_Node       DirNode;
+       tVFS_Node       VolNode;
+
+       void    *Ptr;
+       const tLVM_VolType      *Type;
+
        size_t  BlockSize;
+       Uint64  BlockCount;
        
         int    nSubVolumes;
        tLVM_SubVolume  **SubVolumes;
 
+       tIOCache        *CacheHandle;
+
        char    Name[];
 };
 
@@ -42,6 +56,10 @@ struct sLVM_SubVolume
 };
 
 extern tVFS_NodeType   gLVM_SubVolNodeType;
+extern tVFS_NodeType   gLVM_VolNodeType;
+
+extern tLVM_Vol        *gpLVM_FirstVolume;
+extern tLVM_Vol        *gpLVM_LastVolume;
 
 #endif
 

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