Provisory new API calls isoburn_igopt_set_prep_partition, isoburn_igopt_set_efi_bootp

This commit is contained in:
2012-06-12 11:33:46 +00:00
parent 9e497e369f
commit 8bff64f692
5 changed files with 115 additions and 1 deletions

View File

@@ -1644,6 +1644,40 @@ int isoburn_igopt_get_tail_blocks(struct isoburn_imgen_opts *opts,
uint32_t *num_blocks);
/** Copy a data file from the local filesystem into the emerging ISO image.
Mark it by an MBR partition entry as PreP partition and also cause
protective MBR partition entries before and after this partition.
See libisofs.h iso_write_opts_set_prep_img().
@since 1.2.4
@param opts
The option set to be manipulated.
@param path
File address in the local file system.
@param flag
Reserved for future usage, set to 0.
@return 1 success, <=0 failure
*/
int isoburn_igopt_set_prep_partition(struct isoburn_imgen_opts *opts,
char *path, int flag);
int isoburn_igopt_get_prep_partition(struct isoburn_imgen_opts *opts,
char **path, int flag);
/** Copy a data file from the local filesystem into the emerging ISO image.
@since 1.2.4
@param opts
The option set to be manipulated.
@param path
File address in the local file system.
@param flag
Reserved for future usage, set to 0.
@return 1 success, <=0 failure
*/
int isoburn_igopt_set_efi_bootp(struct isoburn_imgen_opts *opts,
char *path, int flag);
int isoburn_igopt_get_efi_bootp(struct isoburn_imgen_opts *opts,
char **path, int flag);
/** Cause an arbitrary data file to be appended to the ISO image and to be
described by a partition table entry in an MBR or SUN Disk Label at the
start of the ISO image.