5576e8eebf6c8227459a5b8dd5997752c2d1a4f1
[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 };
22
23
24 extern int      LVM_AddVolume(const tLVM_VolType *Type, const char *Name, void *Ptr, size_t BlockSize, size_t BlockCount);
25
26 #endif
27

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