]> git.zerfleddert.de Git - rsbs2/blobdiff - extract.h
add functions to reliably read files in the filesystem, to be used by the
[rsbs2] / extract.h
index d8b8d32e85568d8850b47a179c0c3618c32b6a62..ee35618b1df7d64c66d9d06bb85eef16cb038ff9 100644 (file)
--- a/extract.h
+++ b/extract.h
@@ -1,2 +1,10 @@
+struct file_entry {
+       char *name;
+       unsigned char *start;
+       int length;
+       unsigned char unknown;
+};
+
+struct file_entry* get_next_file(unsigned char *fw, int len);
 void extract_files(unsigned char *fw, int len);
 void write_file(char *fname, unsigned char *buf, int len);
Impressum, Datenschutz