]> git.zerfleddert.de Git - rsbs2/blame - src/filesystem.h
firmware: update for 64bit platforms
[rsbs2] / src / filesystem.h
CommitLineData
81a1093d
MG
1struct file_entry {
2 char *name;
7215c018
MG
3 uint8_t *start;
4 int32_t length;
5 uint8_t unknown;
81a1093d
MG
6};
7
7215c018
MG
8struct file_entry* get_next_file(uint8_t *fw, int32_t len);
9void extract_files(uint8_t *fw, int32_t len);
10void replace_add_file(uint8_t *fw, int32_t len, char *fwname, char *lname);
11void list_files(uint8_t *fw, int32_t len);
12void write_file(char *fname, uint8_t *buf, int32_t len);
3de486ae 13char *extracted_file(char *fname);
Impressum, Datenschutz