diff options
author | Pixel <Pixel> | 2002-05-23 14:07:46 +0000 |
---|---|---|
committer | Pixel <Pixel> | 2002-05-23 14:07:46 +0000 |
commit | bdbd7e1296b98081794e0b185a0b8b677c811359 (patch) | |
tree | 18b17064b2b5026d3272ac573b6728fed418c476 /cdutils.h | |
parent | 983358288de02d3bbf09a007f67d6f7d01bc2eff (diff) |
Again FILE * removing... this is boring!
Diffstat (limited to 'cdutils.h')
-rw-r--r-- | cdutils.h | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -54,27 +54,45 @@ extern long sec_offsts[]; extern char * sec_modes[]; FILE * open_ppf(char * ppf, FILE * iso, char * comment); +FILE * open_ppf(char * ppf, int iso, char * comment); unsigned short int swap_word(unsigned short int i); unsigned long int swap_dword(unsigned long int i); int guess_type(FILE * f_iso, int number); +int guess_type(int f_iso, int number); void sector_seek(FILE * f_iso, long sector); +void sector_seek(int f_iso, long sector); long read_sector(FILE * f_iso, unsigned char * buffer, char type, int number = -1); +long read_sector(int f_iso, unsigned char * buffer, char type, int number = -1); void read_datas(FILE * f_iso, unsigned char * buffer, int type, int number, long size); +void read_datas(int f_iso, unsigned char * buffer, int type, int number, long size); void read_file(FILE * f_iso, FILE * file, char type, int number, long size); +void read_file(int f_iso, int file, char type, int number, long size); void write_sector(FILE * f_iso_r, FILE * f_iso_w, unsigned char * buffer, char type, int number = -1); +void write_sector(int f_iso_r, int f_iso_w, unsigned char * buffer, char type, int number = -1); void write_datas(FILE * f_iso_r, FILE * f_iso_w, unsigned char * buffer, char type, int number, long size); +void write_datas(int f_iso_r, int f_iso_w, unsigned char * buffer, char type, int number, long size); void write_file(FILE * f_iso_r, FILE * f_iso_w, FILE * file, char type, int number = -1); +void write_file(int f_iso_r, int f_iso_w, int file, char type, int number = -1); int get_iso_infos(FILE * h); +int get_iso_infos(int h); int show_iso_infos(FILE * h); +int show_iso_infos(int h); int get_pt_infos(FILE * h); +int get_pt_infos(int h); int show_pt_infos(FILE * h); +int show_pt_infos(int h); struct DirEntry find_path(FILE * h, char * path); +struct DirEntry find_path(int h, char * path); struct DirEntry find_parent(FILE * h, char * path); +struct DirEntry find_parent(int h, char * path); void show_head_entry(void); int show_entry(struct DirEntry * dir); int show_dir(FILE * h, struct DirEntry * dir); +int show_dir(int h, struct DirEntry * dir); struct DirEntry find_dir_entry(FILE * h, struct DirEntry * dir, char * name); +struct DirEntry find_dir_entry(int h, struct DirEntry * dir, char * name); struct DirEntry * find_dir_entry(FILE * h, unsigned char ** buffer, struct DirEntry * dir, char * name); +struct DirEntry * find_dir_entry(int h, unsigned char ** buffer, struct DirEntry * dir, char * name); unsigned char from_BCD(unsigned char x); unsigned char to_BCD(unsigned char x); int is_valid_BCD(unsigned char x); |