New API call isoburn_prepare_blind_grow_v2()

This commit is contained in:
Thomas Schmitt 2024-03-10 08:26:09 +01:00
parent dd92a6e0d7
commit 8d33881cd6
4 changed files with 27 additions and 5 deletions

View File

@ -742,10 +742,11 @@ int isoburn_prepare_new_image(struct burn_drive *d, struct burn_disc **disc,
}
/* API since 0.2.2 */
int isoburn_prepare_blind_grow(struct burn_drive *d, struct burn_disc **disc,
struct isoburn_imgen_opts *opts,
struct burn_drive *out_drive, int nwa)
/* API since 1.5.8 */
int isoburn_prepare_blind_grow_v2(struct burn_drive *d,
struct burn_disc **disc,
struct isoburn_imgen_opts *opts,
struct burn_drive *out_drive, off_t nwa)
{
int ret;
struct isoburn *o= NULL;
@ -767,6 +768,18 @@ int isoburn_prepare_blind_grow(struct burn_drive *d, struct burn_disc **disc,
}
/* API since 0.2.2 */
int isoburn_prepare_blind_grow(struct burn_drive *d, struct burn_disc **disc,
struct isoburn_imgen_opts *opts,
struct burn_drive *out_drive, int nwa)
{
int ret;
ret= isoburn_prepare_blind_grow_v2(d, disc, opts, out_drive, (off_t) nwa);
return(ret);
}
/* API @since 0.1.0
@param flag bit0= this is a regular end, not an abort
give up source reference

View File

@ -2768,6 +2768,14 @@ int isoburn_prepare_blind_grow(struct burn_drive *in_drive,
struct isoburn_imgen_opts *opts,
struct burn_drive *out_drive, int nwa);
/** Like isoburn_prepare_blind_grow(), but with off_t nwa value.
@since 1.5.8
*/
int isoburn_prepare_blind_grow_v2(struct burn_drive *in_drive,
struct burn_disc **disc,
struct isoburn_imgen_opts *opts,
struct burn_drive *out_drive, off_t nwa);
/**
Revoke isoburn_prepare_*() instead of running isoburn_disc_write().

View File

@ -371,6 +371,7 @@ isoburn_get_attached_start_lba_v2;
isoburn_get_mount_params_v2;
isoburn_igopt_get_data_start_v2;
isoburn_igopt_get_effective_lba_v2;
isoburn_prepare_blind_grow_v2;
isoburn_read_iso_head_v2;
isoburn_toc_disc_get_sectors_v2;
isoburn_toc_session_get_sectors_v2;

View File

@ -1 +1 @@
#define Xorriso_timestamP "2024.03.09.223619"
#define Xorriso_timestamP "2024.03.10.072545"