8 /* defined in file.c */
9 file_t
*file_load(char* type
, char *name
);
10 file_t
*file_create(char* type
, char *name
);
11 void file_free(file_t
*file
);
12 void file_flush(file_t
*file
);
13 int file_find(file_t
*file
, int offset
, unsigned char value
);
14 int file_strfind(file_t
*file
, int offset
, char* value
);
15 int file_read(file_t
*file
, void* dst
, int size
);
16 int file_readline(file_t
*file
, char* dst
, int size
);
17 int file_read_int(file_t
*file
);
18 int16_t file_read_short(file_t
*file
);
19 char file_read_char(file_t
*file
);
20 uint32_t file_read_uint(file_t
*file
);
21 float file_read_float(file_t
*file
);
22 int file_seek(file_t
*file
, int offset
, int origin
);
23 int file_tell(file_t
*file
);
24 void *file_get(file_t
*file
);
25 int file_write(file_t
*file
, void *buff
, int size
);
26 int file_writef(file_t
*file
, char* fmt
, ...);