]> git.zerfleddert.de Git - rsbs2/blob - filesystem.h
the unknown element of the data_in struct is the current working byte
[rsbs2] / filesystem.h
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);
9 void extract_files(unsigned char *fw, int len);
10 void replace_add_file(unsigned char *fw, int len, char *fwname, char *lname);
11 void list_files(unsigned char *fw, int len);
12 void write_file(char *fname, unsigned char *buf, int len);
Impressum, Datenschutz