New API function isoburn_igopt_set_part_offset(), requiring libisofs 0.6.35
This commit is contained in:
@@ -36,10 +36,20 @@ int isoburn_toc_entry_new(struct isoburn_toc_entry **objpt,
|
||||
int isoburn_toc_entry_destroy(struct isoburn_toc_entry **o, int flag);
|
||||
|
||||
|
||||
/* >>> TWINTREE : provisory test of partition offset with emulated TOC.
|
||||
.target_iso_head must become dynamically allocated
|
||||
#define Libisoburn_partition_offseT 16
|
||||
*/
|
||||
|
||||
|
||||
/* Size of target_iso_head which is to be written during
|
||||
isoburn_activate_session()
|
||||
*/
|
||||
#ifdef Libisoburn_partition_offseT
|
||||
#define Libisoburn_target_head_sizE (32*2048 +Libisoburn_partition_offseT*2048)
|
||||
#else
|
||||
#define Libisoburn_target_head_sizE (32*2048)
|
||||
#endif
|
||||
|
||||
struct isoburn {
|
||||
|
||||
@@ -520,6 +530,17 @@ struct isoburn_imgen_opts {
|
||||
and timezone 0 */
|
||||
char vol_uuid[17];
|
||||
|
||||
/* TWINTREE: The number of unclaimed 2K blocks before
|
||||
start of partition 1 as of the MBR in system area.
|
||||
If not 0 this will cause double volume descriptor sets
|
||||
and double tree.
|
||||
*/
|
||||
uint32_t partition_offset;
|
||||
/* TWINTREE: Partition table parameter: 1 to 63, 0= disabled/default */
|
||||
int partition_secs_per_head;
|
||||
/* TWINTREE: 1 to 255, 0= disabled/default */
|
||||
int partition_heads_per_cyl;
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user