Added helper application to create device reports on Linux systems without .NET framework available.

This commit is contained in:
2017-12-13 00:32:26 +00:00
parent 49ca94c33e
commit d439dcc232
9 changed files with 585 additions and 0 deletions

View 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