Merge branch 'master' of git://cadel.mutabah.net/acess2
[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          int    (*Read)(void *, Uint64, size_t, void *);
20          int    (*Write)(void *, Uint64, size_t, const void *);
21         void    (*Cleanup)(void *);
22 };
23
24
25 extern void     *LVM_AddVolume(const tLVM_VolType *Type, const char *Name, void *Ptr, size_t BlockSize, size_t BlockCount);
26 extern void     LVM_DelVolume(void *Handle);
27
28 #endif
29

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