Modules/{ATA,LVM} - Moved ATA to use the LVM partition code
[tpg/acess2.git] / KernelLand / Modules / Storage / LVM / include / lvm.h
1 /*
2  * Acess2 Logical Volume Manager
3  * - By John Hodge (thePowersGang)
4  *
5  * lvm.h
6  * - LVM Exports
7  */
8 #ifndef _LVM__LVM_H_
9 #define _LVM__LVM_H_
10
11 #include <acess.h>
12
13 typedef struct sLVM_VolType     tLVM_VolType;
14
15 struct sLVM_VolType
16 {
17         const char *Name;
18
19         size_t  BlockSize;
20         
21         int     (*Read)(void *, Uint64, size_t, void *);
22         int     (*Write)(void *, Uint64, size_t, const void *);
23 };
24
25
26 extern int      LVM_AddVolume(const tLVM_VolType *Type, const char *Name, void *Ptr, size_t BlockCount);
27
28 #endif
29

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