New API call isoburn_disc_pretend_full_uncond()

master
Thomas Schmitt 9 years ago
parent 08784a116c
commit 1424d7539f
  1. 15
      libisoburn/burn_wrap.c
  2. 8
      libisoburn/libisoburn.h
  3. 1
      libisoburn/libisoburn.ver
  4. 2
      xorriso/xorriso_timestamp.h

@ -6,7 +6,7 @@
*/
/* libburn wrappers for libisoburn
Copyright 2007 - 2011 Thomas Schmitt, <scdbackup@gmx.net>
Copyright 2007 - 2014 Thomas Schmitt, <scdbackup@gmx.net>
Provided under GPL version 2 or later.
*/
@ -660,6 +660,19 @@ enum burn_disc_status isoburn_disc_get_status(struct burn_drive *drive)
}
int isoburn_disc_pretend_full_uncond(struct burn_drive *drive)
{
int ret;
struct isoburn *o;
ret= isoburn_find_emulator(&o, drive, 0);
if(ret > 0 && o != NULL)
o->fabricated_disc_status= BURN_DISC_FULL;
ret= burn_disc_pretend_full_uncond(drive);
return(ret);
}
int isoburn_disc_erasable(struct burn_drive *d)
{
int ret;

@ -494,6 +494,14 @@ enum burn_disc_status isoburn_disc_get_status(struct burn_drive *drive);
#endif
/** Sets the medium status to BURN_DISC_FULL unconditionally.
@since 1.3.8
@param drive The drive with the medium to be handled as if it was closed.
@
*/
int isoburn_disc_pretend_full_uncond(struct burn_drive *drive);
/** Tells whether the medium can be treated by isoburn_disc_erase().
Wrapper for: burn_disc_erasable()
@since 0.1.0

@ -10,6 +10,7 @@ isoburn_disc_erasable;
isoburn_disc_erase;
isoburn_disc_get_msc1;
isoburn_disc_get_status;
isoburn_disc_pretend_full_uncond;
isoburn_disc_track_lba_nwa;
isoburn_disc_write;
isoburn_drive_aquire;

@ -1 +1 @@
#define Xorriso_timestamP "2014.05.03.080034"
#define Xorriso_timestamP "2014.05.03.114648"

Loading…
Cancel
Save