New API call burn_disc_pretend_full_uncond()

This commit is contained in:
Thomas Schmitt 2013-11-10 16:35:17 +00:00
parent ae4d296a60
commit edc90b880c
4 changed files with 17 additions and 1 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2013.11.08.095213"
#define Cdrskin_timestamP "2013.11.10.163403"

View File

@ -2494,6 +2494,13 @@ int burn_disc_pretend_full(struct burn_drive *d)
return 1;
}
/* ts B31110 API function */
int burn_disc_pretend_full_uncond(struct burn_drive *d)
{
d->status = BURN_DISC_FULL;
return 1;
}
/* ts A61021: new API function */
int burn_disc_read_atip(struct burn_drive *d)
{

View File

@ -1237,6 +1237,14 @@ int burn_disc_pretend_blank(struct burn_drive *drive);
int burn_disc_pretend_full(struct burn_drive *drive);
/* ts B31110 */
/** WARNING: This overrides the safety measures against unsuitable media.
Sets the drive status to BURN_DISC_FULL unconditionally.
@since 1.3.4
*/
int burn_disc_pretend_full_uncond(struct burn_drive *drive);
/* ts A61021 */
/** Reads ATIP information from inserted media. To be obtained via
burn_drive_get_write_speed(), burn_drive_get_min_write_speed(),

View File

@ -32,6 +32,7 @@ burn_disc_get_status;
burn_disc_next_track_is_damaged;
burn_disc_pretend_blank;
burn_disc_pretend_full;
burn_disc_pretend_full_uncond;
burn_disc_read;
burn_disc_read_atip;
burn_disc_remove_session;