New API call isoburn_igopt_set_hfsp_serial_number()
This commit is contained in:
@ -1712,6 +1712,33 @@ int isoburn_igopt_set_disc_label(struct isoburn_imgen_opts *opts, char *label);
|
||||
int isoburn_igopt_get_disc_label(struct isoburn_imgen_opts *opts,
|
||||
char **label);
|
||||
|
||||
/** Set a serial number for the HFS+ extension of the emerging ISO image.
|
||||
@since 1.2.4
|
||||
@param opts
|
||||
The option set to be manipulated.
|
||||
@param serial_number
|
||||
8 bytes which should be unique to the image.
|
||||
If all bytes are 0, then the serial number will be generated as
|
||||
random number by libisofs. This is the default setting.
|
||||
@return
|
||||
<=0 = error, 1 = success
|
||||
*/
|
||||
int isoburn_igopt_set_hfsp_serial_number(struct isoburn_imgen_opts *opts,
|
||||
uint8_t serial_number[8]);
|
||||
|
||||
|
||||
/** Inquire the current setting made by isoburn_igopt_set_disc_label()
|
||||
@since 1.2.4
|
||||
@param opts
|
||||
The option set to be inquired.
|
||||
@param serial_number
|
||||
Will get filled with the current setting.
|
||||
@return
|
||||
<=0 = error, 1 = success
|
||||
*/
|
||||
int isoburn_igopt_get_hfsp_serial_number(struct isoburn_imgen_opts *opts,
|
||||
uint8_t serial_number[8]);
|
||||
|
||||
|
||||
/* ----------------------------------------------------------------------- */
|
||||
/* End of Options for image generation */
|
||||
|
Reference in New Issue
Block a user