revert between 56095 -> 55830 in arch
[AROS.git] / rom / filesys / CDVDFS / src / joliet.h
blob2772ca3811f28d95e1569a09740cfd793d329b5e
1 typedef struct sup_vol_desc {
2 unsigned char type;
3 char id[5];
4 unsigned char version;
5 char flags;
6 char system_id[32];
7 char volume_id[32];
8 char pad2[8];
9 #if !AROS_BIG_ENDIAN
10 uint32_t space_size;
11 uint32_t space_size_m;
12 #else
13 uint32_t space_size_i;
14 uint32_t space_size;
15 #endif
16 char escape[32];
17 #if !AROS_BIG_ENDIAN
18 unsigned short set_size;
19 unsigned short set_size_m;
20 #else
21 unsigned short set_size_i;
22 unsigned short set_size;
23 #endif
24 #if !AROS_BIG_ENDIAN
25 unsigned short sequence;
26 unsigned short sequence_m;
27 #else
28 unsigned short sequence_i;
29 unsigned short sequence;
30 #endif
31 #if !AROS_BIG_ENDIAN
32 unsigned short block_size;
33 unsigned short block_size_m;
34 #else
35 unsigned short block_size_i;
36 unsigned short block_size;
37 #endif
38 #if !AROS_BIG_ENDIAN
39 uint32_t path_size;
40 uint32_t path_size_m;
41 #else
42 uint32_t path_size_i;
43 uint32_t path_size;
44 #endif
45 #if !AROS_BIG_ENDIAN
46 uint32_t table;
47 uint32_t opt_table;
48 uint32_t m_table;
49 uint32_t opt_m_table;
50 #else
51 uint32_t i_table;
52 uint32_t opt_i_table;
53 uint32_t table;
54 uint32_t opt_table;
55 #endif
56 directory_record root;
57 char volume_set_id[128];
58 char publisher_id[128];
59 char data_preparer[128];
60 char application_id[128];
61 char copyright[37];
62 char abstract_file_id[37];
63 char bibliographic_id[37];
64 time_and_date vol_creation;
65 time_and_date vol_modification;
66 time_and_date vol_expiration;
67 time_and_date vol_effective;
68 unsigned char file_structure_version;
69 char pad4;
70 char application_use[512];
71 char reserved[653];
72 } sup_vol_desc;
74 t_bool Uses_Joliet_Protocol(CDROM *p_cdrom, t_ulong offset, t_ulong *p_svdoffset);
75 int Get_Joliet_Name(struct CDVDBase *global, char *from, char *to, unsigned char len);