|
|
|
@ -456,7 +456,10 @@ int isoburn_prepare_disc_aux(struct burn_drive *in_d, struct burn_drive *out_d,
|
|
|
|
|
0, "FAILURE", 0);
|
|
|
|
|
{ret= -1; goto ex;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
iso_write_opts_set_pvd_times(wopts,
|
|
|
|
|
opts->vol_creation_time, opts->vol_modification_time,
|
|
|
|
|
opts->vol_expiration_time, opts->vol_effective_time,
|
|
|
|
|
opts->vol_uuid);
|
|
|
|
|
|
|
|
|
|
ret = isoburn_disc_track_lba_nwa(out_d, NULL, 0, &lba, &nwa);
|
|
|
|
|
opts->effective_lba= nwa;
|
|
|
|
@ -860,6 +863,10 @@ int isoburn_igopt_new(struct isoburn_imgen_opts **new_o, int flag)
|
|
|
|
|
o->data_start_lba= -1;
|
|
|
|
|
o->system_area_data= NULL;
|
|
|
|
|
o->system_area_options= 0;
|
|
|
|
|
o->vol_creation_time= 0;
|
|
|
|
|
o->vol_modification_time= 0;
|
|
|
|
|
o->vol_expiration_time= 0;
|
|
|
|
|
o->vol_effective_time= 0;
|
|
|
|
|
return(1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -1103,3 +1110,32 @@ int isoburn_igopt_get_system_area(struct isoburn_imgen_opts *opts,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int isoburn_igopt_set_pvd_times(struct isoburn_imgen_opts *opts,
|
|
|
|
|
time_t vol_creation_time, time_t vol_modification_time,
|
|
|
|
|
time_t vol_expiration_time, time_t vol_effective_time,
|
|
|
|
|
char *vol_uuid)
|
|
|
|
|
{
|
|
|
|
|
opts->vol_creation_time = vol_creation_time;
|
|
|
|
|
opts->vol_modification_time = vol_modification_time;
|
|
|
|
|
opts->vol_expiration_time = vol_expiration_time;
|
|
|
|
|
opts->vol_effective_time = vol_effective_time;
|
|
|
|
|
strncpy(opts->vol_uuid, vol_uuid, 16);
|
|
|
|
|
opts->vol_uuid[16] = 0;
|
|
|
|
|
return(1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int isoburn_igopt_get_pvd_times(struct isoburn_imgen_opts *opts,
|
|
|
|
|
time_t *vol_creation_time, time_t *vol_modification_time,
|
|
|
|
|
time_t *vol_expiration_time, time_t *vol_effective_time,
|
|
|
|
|
char vol_uuid[17])
|
|
|
|
|
{
|
|
|
|
|
*vol_creation_time = opts->vol_creation_time;
|
|
|
|
|
*vol_modification_time = opts->vol_modification_time;
|
|
|
|
|
*vol_expiration_time = opts->vol_expiration_time;
|
|
|
|
|
*vol_effective_time = opts->vol_effective_time;
|
|
|
|
|
strcpy(vol_uuid, opts->vol_uuid);
|
|
|
|
|
return(1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|