|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
/*
|
|
|
|
|
Lower level API definition of libisoburn. |
|
|
|
|
|
|
|
|
|
Copyright 2007-2014 Vreixo Formoso Lopes <metalpain2002@yahoo.es> |
|
|
|
|
Copyright 2007-2015 Vreixo Formoso Lopes <metalpain2002@yahoo.es> |
|
|
|
|
and Thomas Schmitt <scdbackup@gmx.net> |
|
|
|
|
Provided under GPL version 2 or later. |
|
|
|
|
*/ |
|
|
|
@ -1791,6 +1791,37 @@ int isoburn_igopt_get_partition_img(struct isoburn_imgen_opts *opts,
|
|
|
|
|
char *image_paths[]); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** Control whether partitions created by iso_write_opts_set_partition_img()
|
|
|
|
|
are to be represented in MBR or as GPT partitions. |
|
|
|
|
@since 1.4.0 |
|
|
|
|
@param opts |
|
|
|
|
The option set to be manipulated. |
|
|
|
|
@param gpt |
|
|
|
|
0= represent as MBR partition; as GPT only if other GPT partitions |
|
|
|
|
are present |
|
|
|
|
1= represent as GPT partition and cause protective MBR with a single |
|
|
|
|
partition which covers the whole output data. |
|
|
|
|
This may fail if other settings demand MBR partitions. |
|
|
|
|
Do not use other values for now. |
|
|
|
|
@return |
|
|
|
|
<=0 = error, 1 = success |
|
|
|
|
*/ |
|
|
|
|
int isoburn_igopt_set_appended_as_gpt(struct isoburn_imgen_opts *opts, |
|
|
|
|
int gpt); |
|
|
|
|
|
|
|
|
|
/** Inquire the current setting made by isoburn_igopt_set_appended_as_gpt().
|
|
|
|
|
@since 1.4.0 |
|
|
|
|
@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_gpt(struct isoburn_imgen_opts *opts, |
|
|
|
|
int *gpt); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** 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: |
|
|
|
|