Revision d6e9098e block.h
b/block.h | ||
---|---|---|
68 | 68 |
BlockDriverState *bdrv_new(const char *device_name); |
69 | 69 |
void bdrv_delete(BlockDriverState *bs); |
70 | 70 |
int bdrv_file_open(BlockDriverState **pbs, const char *filename, int flags); |
71 |
int bdrv_open(BlockDriverState *bs, const char *filename, int flags); |
|
72 |
int bdrv_open2(BlockDriverState *bs, const char *filename, int flags, |
|
73 |
BlockDriver *drv); |
|
71 |
int bdrv_open(BlockDriverState *bs, const char *filename, int flags, |
|
72 |
BlockDriver *drv); |
|
74 | 73 |
void bdrv_close(BlockDriverState *bs); |
75 | 74 |
int bdrv_check(BlockDriverState *bs); |
76 | 75 |
int bdrv_read(BlockDriverState *bs, int64_t sector_num, |
Also available in: Unified diff