Split vdisk to vdisk_raw and vdisk_qcow2
vdisk_raw got existing functionality, no new features. Qcow2 support is yet to be implemented. Miniz was imported with that in mind.
This commit is contained in:
@@ -13,9 +13,15 @@
|
||||
#include <inttypes.h>
|
||||
#include "umka.h"
|
||||
|
||||
void*
|
||||
struct vdisk {
|
||||
diskfunc_t diskfunc;
|
||||
uint32_t sect_size;
|
||||
uint64_t sect_cnt;
|
||||
unsigned cache_size;
|
||||
int adjust_cache_size;
|
||||
};
|
||||
|
||||
struct vdisk*
|
||||
vdisk_init(const char *fname, int adjust_cache_size, size_t cache_size);
|
||||
|
||||
extern diskfunc_t vdisk_functions;
|
||||
|
||||
#endif // VDISK_H_INCLUDED
|
||||
|
||||
Reference in New Issue
Block a user