xorriso_private.h (libisoburn-1.5.0) | : | xorriso_private.h (libisoburn-1.5.2) | ||
---|---|---|---|---|
/* Command line oriented batch and dialog tool which creates, loads, | /* Command line oriented batch and dialog tool which creates, loads, | |||
manipulates and burns ISO 9660 filesystem images. | manipulates and burns ISO 9660 filesystem images. | |||
Copyright 2007-2017 Thomas Schmitt, <scdbackup@gmx.net> | Copyright 2007-2019 Thomas Schmitt, <scdbackup@gmx.net> | |||
Provided under GPL version 2 or later. | Provided under GPL version 2 or later. | |||
This file contains inner declarations of xorriso. | This file contains inner declarations of xorriso. | |||
The public interface is in xorriso.h | The public interface is in xorriso.h | |||
*/ | */ | |||
/* For now, #ifdef Xorriso_is_xorriso_selF has no meaning. | /* For now, #ifdef Xorriso_is_xorriso_selF has no meaning. | |||
But it is already now to be set only by the xorriso.c module. | But it is already now to be set only by the xorriso.c module. | |||
*/ | */ | |||
skipping to change at line 279 | skipping to change at line 279 | |||
Always apply as 0=auto. | Always apply as 0=auto. | |||
*/ | */ | |||
char image_start_value[81]; /* value according image_start_mode */ | char image_start_value[81]; /* value according image_start_mode */ | |||
uint32_t displacement; | uint32_t displacement; | |||
int displacement_sign; | int displacement_sign; | |||
int read_fs; /* bit0=norock , bit1=nojoliet */ | int read_fs; /* bit0=norock , bit1=nojoliet */ | |||
int drives_exclusive; /* burn_preset_device_open() param exclusive */ | int drives_exclusive; /* burn_preset_device_open() param exclusive */ | |||
int drives_access; /* 0=readonly , 1=unrestricted */ | ||||
int linux_scsi_dev_family; /* 0= default, 1= sr, 2= scd, (3= st), 4= sg */ | int linux_scsi_dev_family; /* 0= default, 1= sr, 2= scd, (3= st), 4= sg */ | |||
int early_stdio_test; /* For burn_allow_drive_role_4(): | int early_stdio_test; /* For burn_allow_drive_role_4(): | |||
bit1= Test whether a stdio drive can be opened for | bit1= Test whether a stdio drive can be opened for | |||
read-write resp. read-only resp. write only. | read-write resp. read-only resp. write only. | |||
bit2= Classify files which cannot be opened at all | bit2= Classify files which cannot be opened at all | |||
as role 0 : useless dummy. | as role 0 : useless dummy. | |||
bit3= Classify non-empty role 5 drives as | bit3= Classify non-empty role 5 drives as | |||
BURN_DISC_APPENDABLE with NWA after the | BURN_DISC_APPENDABLE with NWA after the | |||
skipping to change at line 305 | skipping to change at line 306 | |||
int cache_tile_blocks; | int cache_tile_blocks; | |||
int cache_default; /* bit0= cache_num_tiles, bit1= cache_tile_blocks */ | int cache_default; /* bit0= cache_num_tiles, bit1= cache_tile_blocks */ | |||
int do_calm_drive; /* bit0= calm down drive after acquiring it */ | int do_calm_drive; /* bit0= calm down drive after acquiring it */ | |||
char indev[SfileadrL]; | char indev[SfileadrL]; | |||
void *in_drive_handle; /* interpreted only by libburnia oriented modules */ | void *in_drive_handle; /* interpreted only by libburnia oriented modules */ | |||
void *in_volset_handle; /* interpreted only by libburnia oriented modules */ | void *in_volset_handle; /* interpreted only by libburnia oriented modules */ | |||
char *in_charset; /* The charset to interpret the filename bytes */ | char *in_charset; /* The charset to interpret the filename bytes */ | |||
int indev_is_exclusive; | int indev_is_exclusive; | |||
int indev_access; /* see drives_access */ | ||||
char indev_off_adr[SfileadrL]; /* Result of burn_drive_convert_fs_adr(indev) | char indev_off_adr[SfileadrL]; /* Result of burn_drive_convert_fs_adr(indev) | |||
when indev gets acquired. */ | when indev gets acquired. */ | |||
time_t isofs_st_out; /* A time point at least 1 second before image | time_t isofs_st_out; /* A time point at least 1 second before image | |||
composition began. To be stored with image as | composition began. To be stored with image as | |||
xattr "isofs.st". */ | xattr "isofs.st". */ | |||
time_t isofs_st_in; /* That time point as read from "isofs.st" of the | time_t isofs_st_in; /* That time point as read from "isofs.st" of the | |||
loaded image. */ | loaded image. */ | |||
int volset_change_pending; /* whether -commit would make sense | int volset_change_pending; /* whether -commit would make sense | |||
skipping to change at line 335 | skipping to change at line 337 | |||
int check_media_bad_limit; /* values defined as Xorriso_read_quality_* */ | int check_media_bad_limit; /* values defined as Xorriso_read_quality_* */ | |||
struct SectorbitmaP *in_sector_map; /* eventual sector validity bitmap */ | struct SectorbitmaP *in_sector_map; /* eventual sector validity bitmap */ | |||
char outdev[SfileadrL]; | char outdev[SfileadrL]; | |||
void *out_drive_handle; /* interpreted only by xorrisoburn.c */ | void *out_drive_handle; /* interpreted only by xorrisoburn.c */ | |||
char *out_charset; /* The charset to produce the filename bytes for */ | char *out_charset; /* The charset to produce the filename bytes for */ | |||
int dev_fd_1; /* The fd which substitutes for /dev/fd/1 and is | int dev_fd_1; /* The fd which substitutes for /dev/fd/1 and is | |||
connected to externaly perveived stdout. | connected to externaly perveived stdout. | |||
*/ | */ | |||
int outdev_is_exclusive; | int outdev_is_exclusive; | |||
int outdev_access; /* see drives_access */ | ||||
char outdev_off_adr[SfileadrL]; /* Result of burn_drive_convert_fs_adr(outdev) | char outdev_off_adr[SfileadrL]; /* Result of burn_drive_convert_fs_adr(outdev) | |||
when outdev gets acquired. */ | when outdev gets acquired. */ | |||
int grow_blindly_msc2; /* if >= 0 this causes growing from drive to drive. | int grow_blindly_msc2; /* if >= 0 this causes growing from drive to drive. | |||
The value is used as block address offset for | The value is used as block address offset for | |||
image generation. Like in: mkisofs -C msc1,msc2 | image generation. Like in: mkisofs -C msc1,msc2 | |||
*/ | */ | |||
int ban_stdio_write; | int ban_stdio_write; | |||
int do_dummy; | int do_dummy; | |||
skipping to change at line 485 | skipping to change at line 488 | |||
/* 1 to 255, 0= disabled/default */ | /* 1 to 255, 0= disabled/default */ | |||
int partition_heads_per_cyl; | int partition_heads_per_cyl; | |||
/* Disk file paths of content of PreP partition and EFI system partition */ | /* Disk file paths of content of PreP partition and EFI system partition */ | |||
char prep_partition[SfileadrL]; | char prep_partition[SfileadrL]; | |||
char efi_boot_partition[SfileadrL]; | char efi_boot_partition[SfileadrL]; | |||
/* Path and type of image files to be appended as MBR partitions */ | /* Path and type of image files to be appended as MBR partitions */ | |||
char *appended_partitions[Xorriso_max_appended_partitionS]; | char *appended_partitions[Xorriso_max_appended_partitionS]; | |||
uint8_t appended_part_types[Xorriso_max_appended_partitionS]; | uint8_t appended_part_types[Xorriso_max_appended_partitionS]; | |||
uint8_t appended_part_type_guids[Xorriso_max_appended_partitionS][16]; | ||||
/* Flags in case that appended partitions show up in GPT: | ||||
bit0= appended_part_type_guids is valid | ||||
*/ | ||||
uint8_t appended_part_gpt_flags[Xorriso_max_appended_partitionS]; | ||||
/* If 1: With appended partitions: create protective MBR and mark by GPT */ | /* If 1: With appended partitions: create protective MBR and mark by GPT */ | |||
int appended_as_gpt; | int appended_as_gpt; | |||
/* If 1: With appended partitions: mark by APM */ | /* If 1: With appended partitions: mark by APM */ | |||
int appended_as_apm; | int appended_as_apm; | |||
/* If 1: Apply isohybrid gestures to non-isohybrid situations */ | /* If 1: Apply isohybrid gestures to non-isohybrid situations */ | |||
int part_like_isohybrid; | int part_like_isohybrid; | |||
/* MBR partition type of ISO filesystem partition or protective partition | /* MBR partition type of ISO filesystem partition or protective partition | |||
if not real GPT or CHRP. | if not real GPT or CHRP. | |||
*/ | */ | |||
int iso_mbr_part_type; | int iso_mbr_part_type; | |||
uint8_t iso_gpt_type_guid[16]; | ||||
int iso_mbr_part_flag; | ||||
/* Flags in case that the partition table is GPT: | ||||
bit0= iso_gpt_type_guid is valid | ||||
*/ | ||||
/* See libisoburn.h isoburn_igopt_set_gpt_guid() */ | /* See libisoburn.h isoburn_igopt_set_gpt_guid() */ | |||
uint8_t gpt_guid[16]; | uint8_t gpt_guid[16]; | |||
int gpt_guid_mode; | int gpt_guid_mode; | |||
/* Eventual name of the non-ISO aspect of the image. E.g. SUN ASCII label. | /* Eventual name of the non-ISO aspect of the image. E.g. SUN ASCII label. | |||
*/ | */ | |||
char ascii_disc_label[Xorriso_disc_label_sizE]; | char ascii_disc_label[Xorriso_disc_label_sizE]; | |||
/* A data file of which the position and size shall be written after | /* A data file of which the position and size shall be written after | |||
skipping to change at line 534 | skipping to change at line 547 | |||
time_t vol_expiration_time; | time_t vol_expiration_time; | |||
time_t vol_effective_time; | time_t vol_effective_time; | |||
/* To eventually override vol_modification_time by unconverted string | /* To eventually override vol_modification_time by unconverted string | |||
and timezone 0 */ | and timezone 0 */ | |||
char vol_uuid[17]; | char vol_uuid[17]; | |||
/* To flatly set all file timestamps to the same value | /* To flatly set all file timestamps to the same value | |||
Special value: "set_to_mtime", see -find action "set_to_mtime" | Special value: "set_to_mtime", see -find action "set_to_mtime" | |||
*/ | */ | |||
char all_file_dates[80]; | char all_file_dates[80]; | |||
/* Timestamp for ISO files which have no origin file on disk and thus | ||||
normally get time(NULL) as timestamps | ||||
*/ | ||||
int do_override_now_time; | ||||
time_t now_time_override; | ||||
#ifdef Xorriso_with_libjtE | #ifdef Xorriso_with_libjtE | |||
/* Parameters and state of Jigdo Template Export environment */ | /* Parameters and state of Jigdo Template Export environment */ | |||
struct libjte_env *libjte_handle; | struct libjte_env *libjte_handle; | |||
#endif | #endif | |||
/* List of -jigdo parameters since the most recent -jigdo clear */ | /* List of -jigdo parameters since the most recent -jigdo clear */ | |||
struct Xorriso_lsT *jigdo_params; | struct Xorriso_lsT *jigdo_params; | |||
struct Xorriso_lsT *jigdo_values; | struct Xorriso_lsT *jigdo_values; | |||
int libjte_params_given; /* bits: 0= outfile , 1= verbosity , 2= template_path | int libjte_params_given; /* bits: 0= outfile , 1= verbosity , 2= template_path | |||
3= jigdo_path , 4= md5_path , 5= min_size | 3= jigdo_path , 4= md5_path , 5= min_size | |||
End of changes. 7 change blocks. | ||||
1 lines changed or deleted | 20 lines changed or added |