2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-12-15 15:51:44 +00:00
xNBA/src/filo/usb/scsi_cmds.h
2005-03-08 18:53:11 +00:00

15 lines
348 B
C

#ifndef _SCSI_CMDS_H
#define _SCSI_CMDS_H
#define devhandle uint8_t
#define uchar uint8_t
#define ushort uint16_t
void PrintSense(uchar *sense, int len);
int ll_read_block(devhandle sgd, char *buffer, int blocknum, int count);
int get_capacity(devhandle sgd, unsigned long *block_count, unsigned int *blk_len);
int UnitReady(uchar sgd);
#endif