tools/llvm: Do not build with symbols
[minix3.git] / minix / fs / iso9660fs / super.h
blob363fe350beaf114fc51d569135d053d8c5a38a07
1 /* This file contains the definitions of a ISO9660 structures */
2 #include "inode.h"
4 #define VD_BOOT_RECORD 0
5 #define VD_PRIMARY 1
6 #define VD_SUPPL 2
7 #define VD_PART 3
8 #define VD_SET_TERM 255
10 #define MAX_ATTEMPTS 20 /* # attempts to read the volume descriptors.
11 * After it gives up */
12 #define ROOT_INO_NR 1
14 /* Structure for the primary volume descriptor */
15 struct iso9660_vd_pri {
16 u8_t vd_type;
17 char standard_id[ISO9660_SIZE_STANDARD_ID];
18 u8_t vd_version;
19 char system_id[ISO9660_SIZE_SYS_ID];
20 char volume_id[ISO9660_SIZE_VOLUME_ID];
21 u32_t volume_space_size_l;
22 u32_t volume_space_size_m;
23 u32_t volume_set_size;
24 u32_t volume_sequence_number;
25 u16_t logical_block_size_l;
26 u16_t logical_block_size_m;
27 u32_t path_table_size_l;
28 u32_t path_table_size_m;
29 u32_t loc_l_occ_path_table;
30 u32_t loc_opt_l_occ_path_table;
31 u32_t loc_m_occ_path_table;
32 u32_t loc_opt_m_occ_path_table;
33 struct dir_record *dir_rec_root;
34 char volume_set_id[ISO9660_SIZE_VOLUME_SET_ID];
35 char publisher_id[ISO9660_SIZE_PUBLISHER_ID];
36 char data_preparer_id[ISO9660_SIZE_DATA_PREP_ID];
37 char application_id[ISO9660_SIZE_APPL_ID];
38 char copyright_file_id[ISO9660_SIZE_COPYRIGHT_FILE_ID];
39 char abstract_file_id[ISO9660_SIZE_ABSTRACT_FILE_ID];
40 char bibl_file_id[ISO9660_SIZE_BIBL_FILE_ID];
41 char volume_cre_date[ISO9660_SIZE_VOL_CRE_DATE];
42 char volume_mod_date[ISO9660_SIZE_VOL_MOD_DATE];
43 char volume_exp_date[ISO9660_SIZE_VOL_EXP_DATE];
44 char volume_eff_date[ISO9660_SIZE_VOL_EFF_DATE];
45 u8_t file_struct_ver;
46 /* The rest is either not specified or reserved */
47 u8_t count;
48 } v_pri;