11 #ifndef LIBISO_ECMA119_H_
12 #define LIBISO_ECMA119_H_
21 #ifdef HAVE_INTTYPES_H
28 #define BLOCK_SIZE 2048
33 #define MAX_ISO_FILE_SECTION_SIZE 0xffffffff
40 #define ISO_EXTENT_SIZE 0xFFFFF800
47 #define ISO_MAX_PARTITIONS 8
54 #define ISO_SUN_CYL_SIZE 160
59 #define ISO_DISC_LABEL_SIZE 129
66 #ifdef Libisofs_with_rrip_rR
67 #define ISO_UNTRANSLATED_NAMES_MAX 92
69 #define ISO_UNTRANSLATED_NAMES_MAX 96
77 #define ISO_APM_ENTRIES_MAX 63
81 #define ISO_MBR_ENTRIES_MAX 4
87 #define ISO_GPT_ENTRIES_MAX 248
93 #define ISO_JOLIET_UCS2_WARN_MAX 3
457 #ifdef Libisofs_with_libjtE
918 #define BP(a,b) [(b) - (a) + 1]
1051 uint32_t prepad, uint32_t blocks,
int flag);
1064 off_t *start_byte, off_t *byte_count,
1071 int *first_partition,
int *last_partition);
1077 int *first_partition,
int *last_partition,
#define ISO_DISC_LABEL_SIZE
#define ISO_GPT_ENTRIES_MAX
void iso_tell_max_part_range(IsoWriteOpts *opts, int *first_partition, int *last_partition, int flag)
int iso_write_partition_file(Ecma119Image *target, char *path, uint32_t prepad, uint32_t blocks, int flag)
void ecma119_set_voldescr_times(IsoImageWriter *writer, struct ecma119_pri_vol_desc *vol)
void issue_ucs2_warning_summary(size_t failures)
int iso_interval_reader_keep(Ecma119Image *target, struct iso_interval_reader *ivr, int flag)
int iso_count_appended_partitions(Ecma119Image *target, int *first_partition, int *last_partition)
#define ISO_MBR_ENTRIES_MAX
int iso_interval_reader_start_size(Ecma119Image *t, char *path, off_t *start_byte, off_t *byte_count, int flag)
#define ISO_MAX_PARTITIONS
#define ISO_APM_ENTRIES_MAX
uint8_t std_identifier[(6) -(2)+1]
uint8_t boot_sys_id[(39) -(8)+1]
uint8_t vol_desc_version[(7) -(7)+1]
uint8_t boot_id[(71) -(40)+1]
uint8_t unused[(2048) -(76)+1]
uint8_t vol_desc_type[(1) -(1)+1]
uint8_t boot_catalog[(75) -(72)+1]
uint8_t recording_time[(25) -(19)+1]
uint8_t file_unit_size[(27) -(27)+1]
uint8_t length[(18) -(11)+1]
uint8_t len_dr[(1) -(1)+1]
uint8_t file_id[(34) -(34)+1]
uint8_t len_fi[(33) -(33)+1]
uint8_t vol_seq_number[(32) -(29)+1]
uint8_t interleave_gap_size[(28) -(28)+1]
uint8_t len_xa[(2) -(2)+1]
uint8_t block[(10) -(3)+1]
uint8_t flags[(26) -(26)+1]
uint32_t partition_l_table_pos
struct iso_filesrc_list_item * ecma119_hidden_list
int partition_heads_per_cyl
uint32_t hfsp_collision_count
struct iso_mbr_partition_request * mbr_req[4]
uint32_t empty_file_block
struct el_torito_boot_catalog * catalog
uint32_t checksum_tag_pos
int partition_secs_per_head
uint32_t appended_part_size[8]
uint32_t appended_part_prepad[8]
uint32_t joliet_l_path_table_pos
IsoNode * hfsplus_blessed[ISO_HFSPLUS_BLESS_MAX]
uint32_t partition_m_table_pos
uint32_t part_align_blocks
uint32_t m_path_table_pos
uint32_t hfsp_extent_file_start
Ecma119Node * rr_reloc_node
uint32_t hfsp_total_blocks
uint32_t hfsp_bless_id[ISO_HFSPLUS_BLESS_MAX]
uint32_t j_part_l_path_table_pos
unsigned int replace_timestamps
uint32_t iso1999_m_path_table_pos
uint32_t * boot_intvl_start
struct hfsplus_btree_level * hfsp_levels
uint32_t * boot_intvl_size
uint32_t checksum_tree_tag_pos
uint32_t checksum_rlsb_tag_pos
uint32_t iso1999_l_path_table_pos
unsigned int replace_dir_mode
Iso1999Node * iso1999_root
uint32_t hfsp_allocation_file_start
uint32_t checksum_range_start
uint32_t iso1999_path_table_size
uint32_t hfsp_catalog_file_start
uint32_t hfsp_allocation_size
uint32_t checksum_sb_tag_pos
uint8_t gpt_uuid_base[16]
uint8_t sys_area_as_written[16 *2048]
IsoImageWriter ** writers
IsoFileSrc * efi_boot_part_filesrc
unsigned int checksum_idx_counter
int have_appended_partitions
int sys_area_already_written
uint32_t gpt_uuid_counter
uint32_t appended_part_start[8]
size_t joliet_ucs2_failures
struct iso_apm_partition_request * apm_req[63]
Ecma119Node * partition_root
uint32_t checksum_array_pos
IsoFileSrc * sparc_core_src
uint32_t l_path_table_pos
uint32_t joliet_m_path_table_pos
uint8_t gpt_disk_guid[16]
uint32_t joliet_path_table_size
uint32_t eff_partition_offset
unsigned int replace_file_mode
struct iso_gpt_partition_request * gpt_req[248]
int pvd_size_is_total_size
uint32_t j_part_m_path_table_pos
uint32_t checksum_range_size
uint32_t hfsp_allocation_blocks
uint32_t alignment_end_block
uint32_t efi_boot_part_size
uint8_t len_di[(1) -(1)+1]
uint8_t dir_id[(9) -(9)+1]
uint8_t parent[(8) -(7)+1]
uint8_t len_xa[(2) -(2)+1]
uint8_t block[(6) -(3)+1]
uint8_t reserved2[(2048) -(1396)+1]
uint8_t vol_desc_version[(7) -(7)+1]
uint8_t opt_m_path_table_pos[(156) -(153)+1]
uint8_t l_path_table_pos[(144) -(141)+1]
uint8_t app_use[(1395) -(884)+1]
uint8_t unused1[(8) -(8)+1]
uint8_t data_prep_id[(574) -(447)+1]
uint8_t vol_set_size[(124) -(121)+1]
uint8_t vol_seq_number[(128) -(125)+1]
uint8_t vol_modification_time[(847) -(831)+1]
uint8_t bibliographic_file_id[(813) -(777)+1]
uint8_t file_structure_version[(882) -(882)+1]
uint8_t m_path_table_pos[(152) -(149)+1]
uint8_t vol_expiration_time[(864) -(848)+1]
uint8_t vol_creation_time[(830) -(814)+1]
uint8_t vol_set_id[(318) -(191)+1]
uint8_t publisher_id[(446) -(319)+1]
uint8_t system_id[(40) -(9)+1]
uint8_t block_size[(132) -(129)+1]
uint8_t unused3[(120) -(89)+1]
uint8_t vol_space_size[(88) -(81)+1]
uint8_t root_dir_record[(190) -(157)+1]
uint8_t path_table_size[(140) -(133)+1]
uint8_t volume_id[(72) -(41)+1]
uint8_t opt_l_path_table_pos[(148) -(145)+1]
uint8_t reserved1[(883) -(883)+1]
uint8_t vol_effective_time[(881) -(865)+1]
uint8_t copyright_file_id[(739) -(703)+1]
uint8_t vol_desc_type[(1) -(1)+1]
uint8_t abstract_file_id[(776) -(740)+1]
uint8_t unused2[(80) -(73)+1]
uint8_t std_identifier[(6) -(2)+1]
uint8_t application_id[(702) -(575)+1]
uint8_t vol_effective_time[(881) -(865)+1]
uint8_t esc_sequences[(120) -(89)+1]
uint8_t m_path_table_pos[(152) -(149)+1]
uint8_t vol_seq_number[(128) -(125)+1]
uint8_t reserved2[(2048) -(1396)+1]
uint8_t vol_modification_time[(847) -(831)+1]
uint8_t vol_space_size[(88) -(81)+1]
uint8_t vol_set_size[(124) -(121)+1]
uint8_t vol_flags[(8) -(8)+1]
uint8_t root_dir_record[(190) -(157)+1]
uint8_t data_prep_id[(574) -(447)+1]
uint8_t volume_id[(72) -(41)+1]
uint8_t reserved1[(883) -(883)+1]
uint8_t unused2[(80) -(73)+1]
uint8_t opt_l_path_table_pos[(148) -(145)+1]
uint8_t file_structure_version[(882) -(882)+1]
uint8_t app_use[(1395) -(884)+1]
uint8_t system_id[(40) -(9)+1]
uint8_t std_identifier[(6) -(2)+1]
uint8_t copyright_file_id[(739) -(703)+1]
uint8_t vol_desc_version[(7) -(7)+1]
uint8_t opt_m_path_table_pos[(156) -(153)+1]
uint8_t block_size[(132) -(129)+1]
uint8_t vol_desc_type[(1) -(1)+1]
uint8_t path_table_size[(140) -(133)+1]
uint8_t abstract_file_id[(776) -(740)+1]
uint8_t l_path_table_pos[(144) -(141)+1]
uint8_t application_id[(702) -(575)+1]
uint8_t vol_creation_time[(830) -(814)+1]
uint8_t vol_set_id[(318) -(191)+1]
uint8_t vol_expiration_time[(864) -(848)+1]
uint8_t publisher_id[(446) -(319)+1]
uint8_t bibliographic_file_id[(813) -(777)+1]
uint8_t reserved[(2048) -(8)+1]
uint8_t vol_desc_type[(1) -(1)+1]
uint8_t vol_desc_version[(7) -(7)+1]
uint8_t std_identifier[(6) -(2)+1]
unsigned int aaip_susp_1_10
unsigned int rrip_version_1_10
unsigned int allow_full_ascii
unsigned int allow_7bit_ascii
unsigned int joliet_longer_paths
unsigned int untranslated_name_len
unsigned int dir_rec_mtime
unsigned int md5_session_checksum
unsigned int replace_dir_mode
unsigned int allow_dir_id_ext
char * efi_boot_partition
char ascii_disc_label[129]
unsigned int max_37_char_filenames
uint32_t partition_offset
unsigned int rrip_1_10_px_ino
uint8_t gpt_disk_guid[16]
unsigned int relaxed_vol_atts
int partition_heads_per_cyl
uint8_t appended_part_types[8]
unsigned int allow_deep_paths
unsigned int allow_longer_paths
unsigned int allow_lowercase
uint8_t appended_part_gpt_flags[8]
time_t vol_expiration_time
char * appended_partitions[8]
unsigned int no_force_dots
unsigned int joliet_utf16
char * scdbackup_tag_written
unsigned int md5_file_checksums
int partition_secs_per_head
time_t vol_modification_time
int appended_part_flags[8]
uint8_t iso_gpt_type_guid[16]
unsigned int replace_file_mode
uint8_t appended_part_type_guids[8][16]
char scdbackup_tag_parm[100]
unsigned int joliet_long_names
time_t vol_effective_time
unsigned int omit_version_numbers
unsigned int replace_timestamps
uint8_t hfsp_serial_number[8]