New API call burn_disc_next_track_is_damaged()
This commit is contained in:
parent
0352486f97
commit
b4aeba18f7
@ -1 +1 @@
|
||||
#define Cdrskin_timestamP "2011.05.26.145626"
|
||||
#define Cdrskin_timestamP "2011.05.26.150020"
|
||||
|
@ -3108,3 +3108,11 @@ int burn_disc_get_bd_spare_info(struct burn_drive *d,
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
/* ts B10525 : API */
|
||||
int burn_disc_next_track_is_damaged(struct burn_drive *d, int flag)
|
||||
{
|
||||
return d->next_track_damaged;
|
||||
}
|
||||
|
||||
|
||||
|
@ -1279,6 +1279,21 @@ int burn_disc_get_bd_spare_info(struct burn_drive *d,
|
||||
int burn_disc_track_lba_nwa(struct burn_drive *d, struct burn_write_opts *o,
|
||||
int trackno, int *lba, int *nwa);
|
||||
|
||||
/* ts B10525 */
|
||||
/** Tells whether a previous attempt to determine the Next Writeable Address
|
||||
of the upcomming track reveiled that the READ TRACK INFORMATION Damage Bit
|
||||
is set for this track, resp. that no valid writable address is available.
|
||||
See MMC-5 6.27.3.7 Damage Bit, 6.27.3.11 NWA_V (NWA valid)
|
||||
@param d The drive to query.
|
||||
@param flag Bitfield for control purposes (unused yet, submit 0)
|
||||
@return 0= Looks ok: Damage Bit is not set, NWA_V is set
|
||||
1= Damaged and theoretically writable (NWA_V is set)
|
||||
2= Not writable: NWA_V is not set
|
||||
3= Damaged and not writable (NWA_V is not set),
|
||||
@since 1.1.0
|
||||
*/
|
||||
int burn_disc_next_track_is_damaged(struct burn_drive *d, int flag);
|
||||
|
||||
/* ts A70131 */
|
||||
/** Read start lba of the first track in the last complete session.
|
||||
This is the first parameter of mkisofs option -C. The second parameter
|
||||
@ -1308,7 +1323,6 @@ int burn_disc_get_msc1(struct burn_drive *d, int *start_lba);
|
||||
off_t burn_disc_available_space(struct burn_drive *d,
|
||||
struct burn_write_opts *o);
|
||||
|
||||
|
||||
/* ts A61202 */
|
||||
/** Tells the MMC Profile identifier of the loaded media. The drive must be
|
||||
grabbed in order to get a non-zero result.
|
||||
|
@ -23,6 +23,7 @@ burn_disc_get_profile;
|
||||
burn_disc_get_sectors;
|
||||
burn_disc_get_sessions;
|
||||
burn_disc_get_status;
|
||||
burn_disc_next_track_is_damaged;
|
||||
burn_disc_pretend_blank;
|
||||
burn_disc_pretend_full;
|
||||
burn_disc_read;
|
||||
|
Loading…
Reference in New Issue
Block a user