Added SCSI INQUIRY report to DiscImageChef.Device.Report.

This commit is contained in:
2017-12-15 01:15:11 +00:00
parent 10054f1de2
commit 8930336221
9 changed files with 496 additions and 3 deletions

View File

@@ -9,6 +9,7 @@
#include "main.h"
#include "atapi.h"
#include "atapi_report.h"
#include "scsi_report.h"
#include <libxml/xmlwriter.h>
#define DIC_VERSION "3.99.6.0"
@@ -136,6 +137,9 @@ int main(int argc, void *argv[])
if(deviceType == DEVICE_TYPE_ATAPI)
AtapiReport(fd, xmlWriter);
if(deviceType == DEVICE_TYPE_ATAPI || deviceType == DEVICE_TYPE_SCSI)
ScsiReport(fd, xmlWriter);
rc = xmlTextWriterEndDocument(xmlWriter);
if (rc < 0) {
printf("Could not close XML report file.\n");