Integrated elmom patch proposal #3 from ticket #62

This commit is contained in:
2006-09-04 19:11:04 +00:00
parent da15bba025
commit bbdb40ff0f
5 changed files with 139 additions and 43 deletions

View File

@@ -89,6 +89,8 @@ struct scsi_mode_data
int underrun_proof;
};
/** Gets initialized in enumerate_common() and burn_drive_register() */
struct burn_drive
{
int host;
@@ -98,6 +100,13 @@ struct burn_drive
char *devname;
int fd;
/* ts A60904 : ticket 62, contribution by elmom */
/**
Tells the index in scanned burn_drive_info array.
-1 if fallen victim to burn_drive_info_forget()
*/
int global_index;
pthread_mutex_t access_lock;
enum burn_disc_status status;