Revision 221f715d block_int.h

b/block_int.h
86 86

  
87 87
    /* to control generic scsi devices */
88 88
    int (*bdrv_ioctl)(BlockDriverState *bs, unsigned long int req, void *buf);
89
    int (*bdrv_sg_send_command)(BlockDriverState *bs, void *buf, int count);
90
    int (*bdrv_sg_recv_response)(BlockDriverState *bs, void *buf, int count);
91
    BlockDriverAIOCB *(*bdrv_sg_aio_read)(BlockDriverState *bs,
92
                                          void *buf, int count,
93
                                          BlockDriverCompletionFunc *cb,
94
                                          void *opaque);
95
    BlockDriverAIOCB *(*bdrv_sg_aio_write)(BlockDriverState *bs,
96
                                           void *buf, int count,
97
                                           BlockDriverCompletionFunc *cb,
98
                                           void *opaque);
89
    BlockDriverAIOCB *(*bdrv_aio_ioctl)(BlockDriverState *bs,
90
        unsigned long int req, void *buf,
91
        BlockDriverCompletionFunc *cb, void *opaque);
99 92

  
100 93
    AIOPool aio_pool;
101 94
    struct BlockDriver *next;

Also available in: Unified diff