2017-12-18 06:17:18 +00:00
|
|
|
//
|
|
|
|
|
// Created by claunia on 17/12/17.
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
#ifndef DISCIMAGECHEF_DEVICE_REPORT_MMC_REPORT_H
|
|
|
|
|
#define DISCIMAGECHEF_DEVICE_REPORT_MMC_REPORT_H
|
|
|
|
|
|
2017-12-18 18:28:33 +00:00
|
|
|
void MmcReport(int fd, xmlTextWriterPtr xmlWriter, unsigned char *cdromMode);
|
2017-12-18 06:17:18 +00:00
|
|
|
|
|
|
|
|
typedef struct
|
|
|
|
|
{
|
2017-12-18 18:28:33 +00:00
|
|
|
int present;
|
|
|
|
|
size_t len;
|
|
|
|
|
unsigned char *data;
|
2017-12-18 06:17:18 +00:00
|
|
|
} FeatureDescriptors;
|
|
|
|
|
|
|
|
|
|
typedef struct
|
|
|
|
|
{
|
2017-12-18 18:28:33 +00:00
|
|
|
uint32_t DataLength;
|
|
|
|
|
uint16_t CurrentProfile;
|
2017-12-18 06:17:18 +00:00
|
|
|
FeatureDescriptors Descriptors[65536];
|
|
|
|
|
} SeparatedFeatures;
|
|
|
|
|
#endif //DISCIMAGECHEF_DEVICE_REPORT_MMC_REPORT_H
|