Revision b94a2610 include/block/block_int.h
b/include/block/block_int.h | ||
---|---|---|
156 | 156 |
|
157 | 157 |
const char *protocol_name; |
158 | 158 |
int (*bdrv_truncate)(BlockDriverState *bs, int64_t offset); |
159 |
|
|
159 | 160 |
int64_t (*bdrv_getlength)(BlockDriverState *bs); |
161 |
bool has_variable_length; |
|
160 | 162 |
int64_t (*bdrv_get_allocated_file_size)(BlockDriverState *bs); |
163 |
|
|
161 | 164 |
int (*bdrv_write_compressed)(BlockDriverState *bs, int64_t sector_num, |
162 | 165 |
const uint8_t *buf, int nb_sectors); |
163 | 166 |
|
Also available in: Unified diff