Imported Upstream version 0.79.2

This commit is contained in:
Rogério Brito
2010-11-06 20:36:40 -02:00
committed by TANIGUCHI Takaki
parent c3da7b4a44
commit bfe15b23fb
855 changed files with 28909 additions and 12770 deletions

View File

@@ -1,5 +1,5 @@
/* dvdisaster: Additional error correction for optical media.
* Copyright (C) 2004-2009 Carsten Gnoerlich.
* Copyright (C) 2004-2010 Carsten Gnoerlich.
* Project home page: http://www.dvdisaster.com
* Email: carsten@dvdisaster.com -or- cgnoerlich@fsfe.org
*
@@ -49,6 +49,15 @@
#define VERSION REAL_VERSION
#endif
/***
*** Global settings
***/
/* Theretically not needed, but using less causes DMA breakage
on some chipsets. */
#define MIN_TRANSFER_LEN 4
/***
*** Define the Sense data structure.
***/
@@ -115,9 +124,7 @@ typedef struct _DeviceHandle
union ccb *ccb;
#endif
#ifdef SYS_MINGW
HANDLE fd; /* Windows file handle for the device (SPTI case) */
int aspiUsed; /* TRUE is device is accessed via ASPI */
int ha,target,lun; /* ASPI way of describing drives */
HANDLE fd; /* Windows SPTI file handle for the device */
#endif
#ifdef SYS_DARWIN
IOCFPlugInInterface **plugInInterface;
@@ -250,7 +257,6 @@ typedef struct _DeviceHandle
DeviceHandle* OpenDevice(char*);
#ifdef SYS_MINGW
DeviceHandle* open_aspi_device(char*, int);
DeviceHandle* open_spti_device(char*);
#endif