Modules - Working on LVM layer (not integrated yet)
[tpg/acess2.git] / KernelLand / Modules / Storage / LVM / lvm.h
1 /*
2  * Acess2 Logical Volume Manager
3  * - By John Hodge (thePowersGang)
4  *
5  * lvm.h
6  * - LVM Core definitions
7  */
8 #ifndef _LVM_LVM_H_
9 #define _LVM_LVM_H_
10
11 #include <acess.h>
12
13 // === TYPES ===
14 typedef struct sLVM_Vol tLVM_Vol;
15
16 // === FUNCTIONS ===
17 extern size_t   LVM_int_ReadVolume(tLVM_Vol *Volume, Uint64 BlockNum, size_t BlockCount, void *Dest);
18 extern size_t   LVM_int_WriteVolume(tLVM_Vol *Volume, Uint64 BlockNum, size_t BlockCount, const void *Src);
19
20 // --- Subvolume Management ---
21 extern void     LVM_int_SetSubvolume_Anon(tLVM_Vol *Volume, int Index, Uint64 FirstBlock, Uint64 LastBlock);
22
23 #endif
24

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