]>
Commit | Line | Data |
---|---|---|
81a1093d MG |
1 | struct file_entry { |
2 | char *name; | |
3 | unsigned char *start; | |
4 | int length; | |
5 | unsigned char unknown; | |
6 | }; | |
7 | ||
8 | struct file_entry* get_next_file(unsigned char *fw, int len); | |
1f1fa7b6 | 9 | void extract_files(unsigned char *fw, int len); |
505ad254 | 10 | void replace_add_file(unsigned char *fw, int len, char *fwname, char *lname); |
e5be7964 | 11 | void list_files(unsigned char *fw, int len); |
1f1fa7b6 | 12 | void write_file(char *fname, unsigned char *buf, int len); |
3de486ae | 13 | char *extracted_file(char *fname); |