mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
Added helper application to create device reports on Linux systems without .NET framework available.
This commit is contained in:
17
DiscImageChef.Device.Report/scsi.h
Normal file
17
DiscImageChef.Device.Report/scsi.h
Normal file
@@ -0,0 +1,17 @@
|
||||
//
|
||||
// Created by claunia on 11/12/17.
|
||||
//
|
||||
|
||||
#ifndef DISCIMAGECHEF_DEVICE_REPORT_SCSI_H
|
||||
#define DISCIMAGECHEF_DEVICE_REPORT_SCSI_H
|
||||
|
||||
int SendScsiCommand(int fd, void *cdb, unsigned char cdb_len, unsigned char *buffer, unsigned int buffer_len, unsigned char **senseBuffer, int direction);
|
||||
int Inquiry(int fd, unsigned char **buffer, unsigned char **senseBuffer);
|
||||
|
||||
typedef enum
|
||||
{
|
||||
SCSI_INQUIRY = 0x12,
|
||||
SCSI_ATA_PASSTHROUGH_16 = 0x85
|
||||
} ScsiCommands;
|
||||
|
||||
#endif //DISCIMAGECHEF_DEVICE_REPORT_SCSI_H
|
||||
Reference in New Issue
Block a user