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