2017-12-18 19:11:03 +00:00
|
|
|
/***************************************************************************
|
|
|
|
|
The Disc Image Chef
|
|
|
|
|
----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
Filename : mmc_report.h
|
|
|
|
|
Author(s) : Natalia Portillo
|
|
|
|
|
|
|
|
|
|
Component : DiscImageChef.Device.Report
|
|
|
|
|
|
|
|
|
|
--[ Description ] ----------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
Contains definitions used in SCSI MultiMedia device reports.
|
|
|
|
|
|
|
|
|
|
--[ License ] --------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
|
|
|
it under the terms of the GNU General Public License as
|
|
|
|
|
published by the Free Software Foundation, either version 3 of the
|
|
|
|
|
License, or (at your option) any later version.
|
|
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
|
|
----------------------------------------------------------------------------
|
2017-12-19 03:50:57 +00:00
|
|
|
Copyright © 2011-2018 Natalia Portillo
|
2017-12-18 19:11:03 +00:00
|
|
|
****************************************************************************/
|
2017-12-18 06:17:18 +00:00
|
|
|
|
|
|
|
|
#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
|