"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "libisofs/ecma119.h" between
xorriso-1.5.2.tar.gz and xorriso-1.5.4.tar.gz

About: GNU xorriso creates, loads, manipulates and writes ISO 9660 filesystem images with Rock Ridge extensions. It is suitable for incremental data backup and for production of bootable ISO 9660 images. GNU xorriso is a statical compilation of the libraries libburn, libisofs, libisoburn, and libjte.

ecma119.h  (xorriso-1.5.2):ecma119.h  (xorriso-1.5.4)
skipping to change at line 36 skipping to change at line 36
#include <pthread.h> #include <pthread.h>
#define BLOCK_SIZE 2048 #define BLOCK_SIZE 2048
/* /*
* Maximum file section size. Set to 4GB - 1 = 0xffffffff * Maximum file section size. Set to 4GB - 1 = 0xffffffff
*/ */
#define MAX_ISO_FILE_SECTION_SIZE 0xffffffff #define MAX_ISO_FILE_SECTION_SIZE 0xffffffff
/* /*
* When a file need to be splitted in several sections, the maximum size * When a file need to be split in several sections, the maximum size
* of such sections, but the last one. Set to a multiple of BLOCK_SIZE. * of such sections, but the last one. Set to a multiple of BLOCK_SIZE.
* Default to 4GB - 2048 = 0xFFFFF800 * Default to 4GB - 2048 = 0xFFFFF800
*/ */
#define ISO_EXTENT_SIZE 0xFFFFF800 #define ISO_EXTENT_SIZE 0xFFFFF800
/* /*
* The maximum number of partition images that can be registered. Depending * The maximum number of partition images that can be registered. Depending
* on the system area type, the effectively usable number may be smaller or * on the system area type, the effectively usable number may be smaller or
* even 0. * even 0.
*/ */
skipping to change at line 88 skipping to change at line 88
*/ */
#define ISO_MBR_ENTRIES_MAX 4 #define ISO_MBR_ENTRIES_MAX 4
/* The theoretical maximum number of GPT entries in the System Area of an /* The theoretical maximum number of GPT entries in the System Area of an
ISO image: ISO image:
MBR plus GPT header block plus 248 GPT entries of 128 bytes each. MBR plus GPT header block plus 248 GPT entries of 128 bytes each.
*/ */
#define ISO_GPT_ENTRIES_MAX 248 #define ISO_GPT_ENTRIES_MAX 248
/* How many warnings to issue about writing Joliet names which cannot be /* How many warnings to issue about writing Joliet names which cannot be
properly represented in UCS-2 and thus had to be defaultet to '_'. properly represented in UCS-2 and thus had to be defaulted to '_'.
*/ */
#define ISO_JOLIET_UCS2_WARN_MAX 3 #define ISO_JOLIET_UCS2_WARN_MAX 3
/** /**
* Holds the options for the image generation. * Holds the options for the image generation.
*/ */
struct iso_write_opts { struct iso_write_opts {
int will_cancel; int will_cancel;
skipping to change at line 110 skipping to change at line 110
/** Which extensions to support. */ /** Which extensions to support. */
unsigned int rockridge :1; unsigned int rockridge :1;
unsigned int joliet :1; unsigned int joliet :1;
unsigned int iso1999 :1; unsigned int iso1999 :1;
unsigned int hfsplus :1; unsigned int hfsplus :1;
unsigned int fat :1; unsigned int fat :1;
unsigned int aaip :1; /* whether to write eventual ACL and EAs */ unsigned int aaip :1; /* whether to write eventual ACL and EAs */
/* allways write timestamps in GMT */ /* always write timestamps in GMT */
unsigned int always_gmt :1; unsigned int always_gmt :1;
/* /*
* Relaxed constraints. Setting any of these to 1 break the specifications, * Relaxed constraints. Setting any of these to 1 break the specifications,
* but it is supposed to work on most moderns systems. Use with caution. * but it is supposed to work on most moderns systems. Use with caution.
*/ */
/** /**
* Convert directory names for ECMA-119 the same way as other file names * Convert directory names for ECMA-119 the same way as other file names
* but do not force dots or add version numbers. * but do not force dots or add version numbers.
skipping to change at line 182 skipping to change at line 182
/** /**
* If not allow_full_ascii is set: allow all 7 bit characters that would * If not allow_full_ascii is set: allow all 7 bit characters that would
* be allowed by allow_full_ascii. But still map lowercase to uppercase if * be allowed by allow_full_ascii. But still map lowercase to uppercase if
* not allow_lowercase is set to 1. * not allow_lowercase is set to 1.
*/ */
unsigned int allow_7bit_ascii :1; unsigned int allow_7bit_ascii :1;
/** /**
* Allow all characters to be part of Volume and Volset identifiers on * Allow all characters to be part of Volume and Volset identifiers on
* the Primary Volume Descriptor. This breaks ISO-9660 contraints, but * the Primary Volume Descriptor. This breaks ISO-9660 constraints, but
* should work on modern systems. * should work on modern systems.
*/ */
unsigned int relaxed_vol_atts :1; unsigned int relaxed_vol_atts :1;
/** /**
* Allow paths in the Joliet tree to have more than 240 characters. * Allow paths in the Joliet tree to have more than 240 characters.
*/ */
unsigned int joliet_longer_paths :1; unsigned int joliet_longer_paths :1;
/** /**
skipping to change at line 286 skipping to change at line 286
* Raise MISHAP if mismatch. * Raise MISHAP if mismatch.
*/ */
unsigned int md5_file_checksums :2; unsigned int md5_file_checksums :2;
/** If files should be sorted based on their weight. */ /** If files should be sorted based on their weight. */
unsigned int sort_files :1; unsigned int sort_files :1;
/** /**
* The following options set the default values for files and directory * The following options set the default values for files and directory
* permissions, gid and uid. All these take one of three values: 0, 1 or 2. * permissions, gid and uid. All these take one of three values: 0, 1 or 2.
* If 0, the corresponding attribute will be kept as setted in the IsoNode. * If 0, the corresponding attribute will be kept as set in the IsoNode.
* Unless you have changed it, it corresponds to the value on disc, so it * Unless you have changed it, it corresponds to the value on disc, so it
* is suitable for backup purposes. If set to 1, the corresponding attrib. * is suitable for backup purposes. If set to 1, the corresponding attrib.
* will be changed by a default suitable value. Finally, if you set it to * will be changed by a default suitable value. Finally, if you set it to
* 2, the attrib. will be changed with the value specified in the options * 2, the attrib. will be changed with the value specified in the options
* below. Note that for mode attributes, only the permissions are set, the * below. Note that for mode attributes, only the permissions are set, the
* file type remains unchanged. * file type remains unchanged.
*/ */
unsigned int replace_dir_mode :2; unsigned int replace_dir_mode :2;
unsigned int replace_file_mode :2; unsigned int replace_file_mode :2;
unsigned int replace_uid :2; unsigned int replace_uid :2;
skipping to change at line 348 skipping to change at line 348
/** /**
* This flags control the type of the image to create. Libisofs support * This flags control the type of the image to create. Libisofs support
* two kind of images: stand-alone and appendable. * two kind of images: stand-alone and appendable.
* *
* A stand-alone image is an image that is valid alone, and that can be * A stand-alone image is an image that is valid alone, and that can be
* mounted by its own. This is the kind of image you will want to create * mounted by its own. This is the kind of image you will want to create
* in most cases. A stand-alone image can be burned in an empty CD or DVD, * in most cases. A stand-alone image can be burned in an empty CD or DVD,
* or write to an .iso file for future burning or distribution. * or write to an .iso file for future burning or distribution.
* *
* On the other side, an appendable image is not self contained, it refers * On the other side, an appendable image is not self contained, it refers
* to serveral files that are stored outside the image. Its usage is for * to several files that are stored outside the image. Its usage is for
* multisession discs, where you add data in a new session, while the * multisession discs, where you add data in a new session, while the
* previous session data can still be accessed. In those cases, the old * previous session data can still be accessed. In those cases, the old
* data is not written again. Instead, the new image refers to it, and thus * data is not written again. Instead, the new image refers to it, and thus
* it's only valid when appended to the original. Note that in those cases * it's only valid when appended to the original. Note that in those cases
* the image will be written after the original, and thus you will want * the image will be written after the original, and thus you will want
* to use a ms_block greater than 0. * to use a ms_block greater than 0.
* *
* Note that if you haven't import a previous image (by means of * Note that if you haven't import a previous image (by means of
* iso_image_import()), the image will always be a stand-alone image, as * iso_image_import()), the image will always be a stand-alone image, as
* there is no previous data to refer to. * there is no previous data to refer to.
skipping to change at line 380 skipping to change at line 380
* In stand alone images this is usually 0. However, you may want to * In stand alone images this is usually 0. However, you may want to
* provide a different ms_block if you don't plan to burn the image in the * provide a different ms_block if you don't plan to burn the image in the
* first session on disc, such as in some CD-Extra disc whether the data * first session on disc, such as in some CD-Extra disc whether the data
* image is written in a new session after some audio tracks. * image is written in a new session after some audio tracks.
*/ */
uint32_t ms_block; uint32_t ms_block;
/** /**
* When not NULL, it should point to a buffer of at least 64KiB, where * When not NULL, it should point to a buffer of at least 64KiB, where
* libisofs will write the contents that should be written at the beginning * libisofs will write the contents that should be written at the beginning
* of a overwriteable media, to grow the image. The growing of an image is * of a overwritable media, to grow the image. The growing of an image is
* a way, used by first time in growisofs by Andy Polyakov, to allow the * a way, used by first time in growisofs by Andy Polyakov, to allow the
* appending of new data to non-multisession media, such as DVD+RW, in the * appending of new data to non-multisession media, such as DVD+RW, in the
* same way you append a new session to a multisession disc, i.e., without * same way you append a new session to a multisession disc, i.e., without
* need to write again the contents of the previous image. * need to write again the contents of the previous image.
* *
* Note that if you want this kind of image growing, you will also need to * Note that if you want this kind of image growing, you will also need to
* set appendable to "1" and provide a valid ms_block after the previous * set appendable to "1" and provide a valid ms_block after the previous
* image. * image.
* *
* You should initialize the buffer either with 0s, or with the contents of * You should initialize the buffer either with 0s, or with the contents of
* the first blocks of the image you're growing. In most cases, 0 is good * the first blocks of the image you're growing. In most cases, 0 is good
* enought. * enough.
*/ */
uint8_t *overwrite; uint8_t *overwrite;
/** /**
* Size, in number of blocks, of the FIFO buffer used between the writer * Size, in number of blocks, of the FIFO buffer used between the writer
* thread and the burn_source. You have to provide at least a 32 blocks * thread and the burn_source. You have to provide at least a 32 blocks
* buffer. * buffer.
*/ */
size_t fifo_size; size_t fifo_size;
skipping to change at line 476 skipping to change at line 476
char *prep_partition; char *prep_partition;
int prep_part_flag; int prep_part_flag;
/* Eventual disk file path of an EFI system partition image which shall /* Eventual disk file path of an EFI system partition image which shall
be prepended to HFS+/FAT and IsoFileSrc areas and marked by a GPT entry. be prepended to HFS+/FAT and IsoFileSrc areas and marked by a GPT entry.
*/ */
char *efi_boot_partition; char *efi_boot_partition;
int efi_boot_part_flag; int efi_boot_part_flag;
/* Disk file paths of prepared images which shall be appended /* Disk file paths of prepared images which shall be appended
after the ISO image and described by partiton table entries in a MBR. after the ISO image and described by partition table entries in a MBR.
NULL means unused. NULL means unused.
*/ */
char *appended_partitions[ISO_MAX_PARTITIONS]; char *appended_partitions[ISO_MAX_PARTITIONS];
uint8_t appended_part_types[ISO_MAX_PARTITIONS]; uint8_t appended_part_types[ISO_MAX_PARTITIONS];
int appended_part_flags[ISO_MAX_PARTITIONS]; int appended_part_flags[ISO_MAX_PARTITIONS];
uint8_t appended_part_type_guids[ISO_MAX_PARTITIONS][16]; uint8_t appended_part_type_guids[ISO_MAX_PARTITIONS][16];
/* Flags in case that appended partitions show up in GPT: /* Flags in case that appended partitions show up in GPT:
bit0= appended_part_type_guids is valid bit0= appended_part_type_guids is valid
*/ */
 End of changes. 9 change blocks. 
9 lines changed or deleted 9 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)