X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FModules%2FStorage%2FLVM%2Finclude%2Flvm.h;h=804843b54e8841cbac2f6ec6190f74f00c7e6891;hb=6aeca47f9311da25dfd9308c99cba9950b178d55;hp=5576e8eebf6c8227459a5b8dd5997752c2d1a4f1;hpb=54f893f1c1091d5f0bef8458585300e44beb7e81;p=tpg%2Facess2.git diff --git a/KernelLand/Modules/Storage/LVM/include/lvm.h b/KernelLand/Modules/Storage/LVM/include/lvm.h index 5576e8ee..804843b5 100644 --- a/KernelLand/Modules/Storage/LVM/include/lvm.h +++ b/KernelLand/Modules/Storage/LVM/include/lvm.h @@ -16,12 +16,14 @@ struct sLVM_VolType { const char *Name; - 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 BlockSize, 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