New API calls isoburn_igopt_set_appended_as_apm, isoburn_igopt_set_part_like_isoisoburn_igopt_set_part_like_isohybrid

This commit is contained in:
2016-02-05 09:50:46 +00:00
parent 62757f4223
commit f3b55f2864
4 changed files with 107 additions and 2 deletions

View File

@ -1919,6 +1919,67 @@ int isoburn_igopt_get_appended_as_gpt(struct isoburn_imgen_opts *opts,
int *gpt);
/** Control whether partitions created by iso_write_opts_set_partition_img()
are to be represented in Apple Partition Map.
@since 1.4.4
@param opts
The option set to be manipulated.
@param apm
0= do not represent appended partitions in APM
1= represent in APM, even if not
iso_write_opts_set_part_like_isohybrid() enables it and no
other APM partitions emerge.
Do not use other values for now.
@return
<=0 = error, 1 = success
*/
int isoburn_igopt_set_appended_as_apm(struct isoburn_imgen_opts *opts,
int apm);
/** Inquire the current setting made by isoburn_igopt_set_appended_as_apm().
@since 1.4.4
@param opts
The option set to be inquired.
@param gpt
Returns the current value.
@return
<=0 = error, 1 = success
*/
int isoburn_igopt_get_appended_as_apm(struct isoburn_imgen_opts *opts,
int *apm);
/** Control whether bits 2 to 8 of el_torito_set_isolinux_options()
shall apply even if not isohybrid MBR patching is enabled (bit1 of
parameter options of isoburn_igopt_set_system_area()).
For details see iso_write_opts_set_part_like_isohybrid() in libisofs.h.
@since 1.4.4
@param opts
The option set to be manipulated.
@param alike
0= Apply isohybrid behavior only with ISOLINUX isohybrid.
Do not mention appended partitions in APM unless
isoburn_igopt_set_appended_as_apm() is enabled.
1= Apply isohybrid behavior even without ISOLINUX isohybrid.
@return
<=0 = error, 1 = success
*/
int isoburn_igopt_set_part_like_isohybrid(struct isoburn_imgen_opts *opts,
int alike);
/** Inquire the current setting of isoburn_igopt_set_part_like_isohybrid().
@since 1.4.4
@param opts
The option set to be inquired.
@param alike
Returns the current value.
@return
<=0 = error, 1 = success
*/
int isoburn_igopt_get_part_like_isohybrid(struct isoburn_imgen_opts *opts,
int *alike);
/** Set a name for the system area. This setting is ignored unless system area
type 3 "SUN Disk Label" is in effect by iso_write_opts_set_system_area().
In this case it will replace the default text at the start of the image: