Revision 508c7cb3 block_int.h
b/block_int.h | ||
---|---|---|
48 | 48 |
const char *format_name; |
49 | 49 |
int instance_size; |
50 | 50 |
int (*bdrv_probe)(const uint8_t *buf, int buf_size, const char *filename); |
51 |
int (*bdrv_probe_device)(const char *filename); |
|
51 | 52 |
int (*bdrv_open)(BlockDriverState *bs, const char *filename, int flags); |
52 | 53 |
int (*bdrv_read)(BlockDriverState *bs, int64_t sector_num, |
53 | 54 |
uint8_t *buf, int nb_sectors); |
... | ... | |
177 | 178 |
|
178 | 179 |
extern BlockDriverState *bdrv_first; |
179 | 180 |
|
181 |
#ifdef _WIN32 |
|
182 |
int is_windows_drive(const char *filename); |
|
183 |
#endif |
|
184 |
|
|
180 | 185 |
#endif /* BLOCK_INT_H */ |
Also available in: Unified diff