]> git.zerfleddert.de Git - rsbs2/blob - src/filesystem.h
IPMI power/reset via rsbs2.pl
[rsbs2] / src / 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);
13 char *extracted_file(char *fname);
Impressum, Datenschutz