New API calls isoburn_igopt_set_iso_mbr_part_type(), isoburn_igopt_get_iso_mbr_part_type()
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
/*
|
||||
Lower level API definition of libisoburn.
|
||||
|
||||
Copyright 2007-2016 Vreixo Formoso Lopes <metalpain2002@yahoo.es>
|
||||
Copyright 2007-2017 Vreixo Formoso Lopes <metalpain2002@yahoo.es>
|
||||
and Thomas Schmitt <scdbackup@gmx.net>
|
||||
Provided under GPL version 2 or later.
|
||||
*/
|
||||
@ -1987,6 +1987,34 @@ int isoburn_igopt_set_part_like_isohybrid(struct isoburn_imgen_opts *opts,
|
||||
int isoburn_igopt_get_part_like_isohybrid(struct isoburn_imgen_opts *opts,
|
||||
int *alike);
|
||||
|
||||
/** Set the partition type of the MBR partition which represents the ISO
|
||||
filesystem or at least protects it.
|
||||
This is without effect if no such partition emerges by other settings or
|
||||
if the partition type is prescribed mandatorily like 0xee for
|
||||
GPT protective MBR or 0x96 for CHRP.
|
||||
@since 1.4.8
|
||||
@param opts
|
||||
The option set to be manipulated.
|
||||
@param part_type
|
||||
0x00 to 0xff as desired partition type.
|
||||
Any other value (e.g. -1) enables the default types of the various
|
||||
occasions.
|
||||
*/
|
||||
int isoburn_igopt_set_iso_mbr_part_type(struct isoburn_imgen_opts *opts,
|
||||
int part_type);
|
||||
|
||||
/** Inquire the current setting of isoburn_igopt_set_part_like_isohybrid().
|
||||
@since 1.4.8
|
||||
@param opts
|
||||
The option set to be inquired.
|
||||
@param part_type
|
||||
Returns the current value: -1, 0x00 to 0xff.
|
||||
@return
|
||||
<=0 = error, 1 = success
|
||||
*/
|
||||
int isoburn_igopt_get_iso_mbr_part_type(struct isoburn_imgen_opts *opts,
|
||||
int *part_type);
|
||||
|
||||
/** Control whether the emerging GPT gets a pseudo-randomly generated disk GUID
|
||||
or whether it gets a user supplied GUID.
|
||||
The partition GUIDs will be generated in a reproducible way by exoring a
|
||||
|
Reference in New Issue
Block a user