/** * * TODO: description * * This file is a part of USB SCSI CAM for Haiku OS. * May be used under terms of the MIT License * * Author(s): * Siarzhuk Zharski * * */ #ifndef _PROTO_COMMON_H_ #define _PROTO_COMMON_H_ #ifndef _DEVICE_INFO_H_ #include "device_info.h" #endif /* _DEVICE_INFO_H_ */ void bulk_callback(void *cookie, status_t status, void* data, uint32 actual_len); status_t process_data_io(usb_device_info *udi, iovec *sg_data, int32 sg_count/*sg_buffer *sgb*/, EDirection dir); void transfer_callback(usb_device_info *udi, CCB_SCSIIO *ccbio, int32 residue, status_t status); void sense_callback(usb_device_info *udi, CCB_SCSIIO *ccbio, int32 residue, status_t status); #endif /*_PROTO_COMMON_H_*/