|
Lines 50-62
typedef struct _rr_entry {
Link Here
|
| 50 |
int re; /* relocated */ |
50 |
int re; /* relocated */ |
| 51 |
char z_algo[2]; /* zizofs algorithm */ |
51 |
char z_algo[2]; /* zizofs algorithm */ |
| 52 |
char z_params[2]; /* zizofs parameters */ |
52 |
char z_params[2]; /* zizofs parameters */ |
| 53 |
long z_size; /* zizofs real_size */ |
53 |
long long z_size; /* zizofs real_size */ |
| 54 |
} rr_entry; |
54 |
} rr_entry; |
| 55 |
|
55 |
|
| 56 |
typedef struct _iso_vol_desc { |
56 |
typedef struct _iso_vol_desc { |
| 57 |
struct _iso_vol_desc *next; |
57 |
struct _iso_vol_desc *next; |
| 58 |
struct _iso_vol_desc *prev; |
58 |
struct _iso_vol_desc *prev; |
| 59 |
struct iso_volume_descriptor data; |
59 |
struct iso_volume_descriptor data; |
| 60 |
} iso_vol_desc; |
60 |
} iso_vol_desc; |
| 61 |
|
61 |
|
| 62 |
typedef struct _boot_entry { |
62 |
typedef struct _boot_entry { |
|
Lines 78-84
typedef struct _boot_head {
Link Here
|
| 78 |
/** |
78 |
/** |
| 79 |
* this callback function needs to read 'len' sectors from 'start' into 'buf' |
79 |
* this callback function needs to read 'len' sectors from 'start' into 'buf' |
| 80 |
*/ |
80 |
*/ |
| 81 |
typedef int readfunc(char *buf,long start, long len,void *); |
81 |
typedef int readfunc(char *buf,long long start, long long len,void *); |
| 82 |
|
82 |
|
| 83 |
/** |
83 |
/** |
| 84 |
* ProcessDir uses this callback |
84 |
* ProcessDir uses this callback |
|
Lines 107-113
time_t isodate_84261(char * p, int hs);
Link Here
|
| 107 |
* If the function fails, returns NULL |
107 |
* If the function fails, returns NULL |
| 108 |
* Don't forget to call FreeISO9660 after using the volume descriptor list! |
108 |
* Don't forget to call FreeISO9660 after using the volume descriptor list! |
| 109 |
*/ |
109 |
*/ |
| 110 |
iso_vol_desc *ReadISO9660(readfunc *read,long sector,void *udata); |
110 |
iso_vol_desc *ReadISO9660(readfunc *read,long long sector,void *udata); |
| 111 |
|
111 |
|
| 112 |
/** |
112 |
/** |
| 113 |
* Frees the linked list of volume descriptors |
113 |
* Frees the linked list of volume descriptors |
|
Lines 140-146
int JolietLevel(struct iso_volume_descriptor *ivd);
Link Here
|
| 140 |
/** |
140 |
/** |
| 141 |
* Returns the size of the boot image (in 512 byte sectors) |
141 |
* Returns the size of the boot image (in 512 byte sectors) |
| 142 |
*/ |
142 |
*/ |
| 143 |
int BootImageSize(int media,long len); |
143 |
int BootImageSize(int media,long long len); |
| 144 |
|
144 |
|
| 145 |
/** |
145 |
/** |
| 146 |
* Frees the boot catalog entries in 'boot'. If you ever called ReadBootTable, |
146 |
* Frees the boot catalog entries in 'boot'. If you ever called ReadBootTable, |
|
Lines 151-157
void FreeBootTable(boot_head *boot);
Link Here
|
| 151 |
/** |
151 |
/** |
| 152 |
* Reads the boot catalog into 'head'. Don't forget to call FreeBootTable! |
152 |
* Reads the boot catalog into 'head'. Don't forget to call FreeBootTable! |
| 153 |
*/ |
153 |
*/ |
| 154 |
int ReadBootTable(readfunc *read,long sector, boot_head *head, void *udata); |
154 |
int ReadBootTable(readfunc *read,long long sector, boot_head *head, void *udata); |
| 155 |
|
155 |
|
| 156 |
#ifdef __cplusplus |
156 |
#ifdef __cplusplus |
| 157 |
} //extern "C" |
157 |
} //extern "C" |