Revision 7bf37fed block_int.h
b/block_int.h | ||
---|---|---|
113 | 113 |
int (*bdrv_is_inserted)(BlockDriverState *bs); |
114 | 114 |
int (*bdrv_media_changed)(BlockDriverState *bs); |
115 | 115 |
int (*bdrv_eject)(BlockDriverState *bs, int eject_flag); |
116 |
int (*bdrv_set_locked)(BlockDriverState *bs, int locked);
|
|
116 |
void (*bdrv_set_locked)(BlockDriverState *bs, int locked);
|
|
117 | 117 |
|
118 | 118 |
/* to control generic scsi devices */ |
119 | 119 |
int (*bdrv_ioctl)(BlockDriverState *bs, unsigned long int req, void *buf); |
Also available in: Unified diff