New API calls isoburn_igopt_set_appended_as_gpt(), isoburn_igopt_get_appended_as_gpt()

This commit is contained in:
2015-02-06 11:48:23 +00:00
parent 05de6d6f60
commit e5f9d21ce8
5 changed files with 57 additions and 4 deletions

View File

@ -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: