Added ATA report to DiscImageChef.Device.Report.

This commit is contained in:
2017-12-18 17:51:52 +00:00
parent bb895360e6
commit 7d8038e3b6
8 changed files with 929 additions and 8 deletions

View File

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