Revision f58c7b35 block.h
b/block.h | ||
---|---|---|
99 | 99 |
|
100 | 100 |
/* Ensure contents are flushed to disk. */ |
101 | 101 |
void bdrv_flush(BlockDriverState *bs); |
102 |
int bdrv_is_allocated(BlockDriverState *bs, int64_t sector_num, int nb_sectors, |
|
103 |
int *pnum); |
|
102 | 104 |
|
103 | 105 |
#define BDRV_TYPE_HD 0 |
104 | 106 |
#define BDRV_TYPE_CDROM 1 |
Also available in: Unified diff