X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FModules%2FStorage%2FLVM%2Finclude%2Flvm.h;h=804843b54e8841cbac2f6ec6190f74f00c7e6891;hb=e7a76b0d8a0cc6aa77966509780973a6f8216ef7;hp=3a9ef1b16b97131ef77179433ce75f4ac8cd06b1;hpb=06674bf290ab6a24398a5fde1b67060673e267ad;p=tpg%2Facess2.git diff --git a/KernelLand/Modules/Storage/LVM/include/lvm.h b/KernelLand/Modules/Storage/LVM/include/lvm.h index 3a9ef1b1..804843b5 100644 --- a/KernelLand/Modules/Storage/LVM/include/lvm.h +++ b/KernelLand/Modules/Storage/LVM/include/lvm.h @@ -16,14 +16,14 @@ struct sLVM_VolType { const char *Name; - size_t BlockSize; - - int (*Read)(void *, Uint64, size_t, void *); - int (*Write)(void *, Uint64, size_t, const void *); + int (*Read)(void *, Uint64, size_t, void *); + int (*Write)(void *, Uint64, size_t, const void *); + void (*Cleanup)(void *); }; -extern int LVM_AddVolume(const tLVM_VolType *Type, const char *Name, void *Ptr, size_t BlockCount); +extern void *LVM_AddVolume(const tLVM_VolType *Type, const char *Name, void *Ptr, size_t BlockSize, size_t BlockCount); +extern void LVM_DelVolume(void *Handle); #endif