New API function burn_write_opts_get_drive()

ZeroFourZero
Thomas Schmitt 15 years ago
parent 65c0e34363
commit 797f403b0d
  1. 2
      cdrskin/cdrskin_timestamp.h
  2. 9
      libburn/libburn.h
  3. 7
      libburn/options.c

@ -1 +1 @@
#define Cdrskin_timestamP "2007.08.28.143057"
#define Cdrskin_timestamP "2007.09.01.182319"

@ -927,6 +927,15 @@ enum burn_drive_status burn_drive_get_status(struct burn_drive *drive,
*/
struct burn_write_opts *burn_write_opts_new(struct burn_drive *drive);
/* ts A70901 */
/** Inquires the drive associated with a burn_write_opts object.
@param opts object to inquire
@return pointer to drive
*/
struct burn_drive *burn_write_opts_get_drive(struct burn_write_opts *opts);
/** Frees a write_opts struct created with burn_write_opts_new
@param opts write_opts to free
*/

@ -378,6 +378,13 @@ void burn_write_opts_set_force(struct burn_write_opts *opts, int use_force)
}
/* ts A70901: API */
struct burn_drive *burn_write_opts_get_drive(struct burn_write_opts *opts)
{
return opts->drive;
}
void burn_read_opts_set_raw(struct burn_read_opts *opts, int raw)
{
opts->raw = raw;

Loading…
Cancel
Save