Added MMC report to DiscImageChef.Device.Report.

This commit is contained in:
2017-12-18 06:17:18 +00:00
parent 21cdfb52cc
commit 935d4b9e96
7 changed files with 2348 additions and 6 deletions

View File

@@ -0,0 +1,23 @@
//
// Created by claunia on 17/12/17.
//
#ifndef DISCIMAGECHEF_DEVICE_REPORT_MMC_REPORT_H
#define DISCIMAGECHEF_DEVICE_REPORT_MMC_REPORT_H
void MmcReport(int fd, xmlTextWriterPtr xmlWriter, unsigned char* cdromMode);
typedef struct
{
int present;
size_t len;
unsigned char* data;
} FeatureDescriptors;
typedef struct
{
uint32_t DataLength;
uint16_t CurrentProfile;
FeatureDescriptors Descriptors[65536];
} SeparatedFeatures;
#endif //DISCIMAGECHEF_DEVICE_REPORT_MMC_REPORT_H