New API call isoburn_igopt_set_hfsp_serial_number()

This commit is contained in:
2012-05-27 16:56:14 +00:00
parent 6fdf7a5fae
commit 4ea1032820
5 changed files with 54 additions and 1 deletions

View File

@ -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 */