New API call isoburn_igopt_set_tail_blocks()
This commit is contained in:
@ -1326,6 +1326,25 @@ int isoburn_igopt_detach_jte(struct isoburn_imgen_opts *opts,
|
||||
void **libjte_handle);
|
||||
|
||||
|
||||
/** Set resp. get the number of trailing zero byte blocks to be written by
|
||||
libisofs. The image size counter of the emerging ISO image will include
|
||||
them. Eventual checksums will take them into respect.
|
||||
They will be written immediately before the eventual image checksum area
|
||||
which is at the very end of the image.
|
||||
For a motivation see iso_write_opts_set_tail_blocks() in libisofs.h .
|
||||
@since 0.6.4
|
||||
@param opts
|
||||
The option set to work on
|
||||
@aram num_blocks
|
||||
Number of extra 2 kB blocks to be written by libisofs.
|
||||
@return 1 success, <=0 failure
|
||||
*/
|
||||
int isoburn_igopt_set_tail_blocks(struct isoburn_imgen_opts *opts,
|
||||
uint32_t num_blocks);
|
||||
int isoburn_igopt_get_tail_blocks(struct isoburn_imgen_opts *opts,
|
||||
uint32_t *num_blocks);
|
||||
|
||||
|
||||
/* ----------------------------------------------------------------------- */
|
||||
/* End of Options for image generation */
|
||||
/* ----------------------------------------------------------------------- */
|
||||
|
Reference in New Issue
Block a user