Main Page | Data Structures | Directories | File List | Data Fields | Globals

iso9660_dir_s Struct Reference

Format of an ISO-9660 directory record. More...

#include <iso9660.h>


Data Fields

iso711_t length
iso711_t xa_length
iso733_t extent
iso733_t size
iso9660_dtime_t recording_time
uint8_t file_flags
iso711_t file_unit_size
iso711_t interleave_gap
iso723_t volume_sequence_number
iso711_t filename_len
char filename [EMPTY_ARRAY_SIZE]


Detailed Description

Format of an ISO-9660 directory record.

Section 9.1 of ECMA 119.

This structure may have an odd length depending on how many characters there are in the filename! Some compilers (e.g. on Sun3/mc68020) pad the structures to an even length. For this reason, we cannot use sizeof (struct iso_path_table) or sizeof (struct iso_directory_record) to compute on disk sizes. Instead, we use offsetof(..., name) and add the name size. See mkisofs.h of the cdrtools package.

See also:
iso9660_stat


Field Documentation

iso733_t iso9660_dir_s::extent
 

XA length if XA is used. Otherwise zero. (9.1.2)

uint8_t iso9660_dir_s::file_flags
 

Recording date and time (9.1.3)

iso711_t iso9660_dir_s::file_unit_size
 

If no XA then zero. If a directory, then bits 2,3 and 7 are zero. (9.1.6)

char iso9660_dir_s::filename[EMPTY_ARRAY_SIZE]
 

number of bytes in filename field

iso711_t iso9660_dir_s::filename_len
 

Ordinal number of the volume in the Volume Set on which the Extent described by this Directory Record is recorded. (9.1.9)

iso711_t iso9660_dir_s::interleave_gap
 

File Unit size for the File Section if the File Section is recorded in interleaved mode. Otherwise zero. (9.1.7)

iso711_t iso9660_dir_s::length
 

iso9660_dtime_t iso9660_dir_s::recording_time
 

data length of File Section. This does not include the length of any XA Records. (9.1.2)

iso733_t iso9660_dir_s::size
 

LBA of first local block allocated to the extent

iso723_t iso9660_dir_s::volume_sequence_number
 

Interleave Gap size for the File Section if the File Section is interleaved. Otherwise zero. (9.1.8)

iso711_t iso9660_dir_s::xa_length
 

Length of Directory record (9.1.1)


The documentation for this struct was generated from the following file:
Generated on Mon Sep 26 08:17:40 2005 for libcdio by  doxygen 1.4.4