exit(1);
}
+void list_files(unsigned char *fw, int len)
+{
+ struct file_entry *fent;
+
+ for (fent = get_next_file(fw, len); fent != NULL; fent = get_next_file(NULL, 0)) {
+ printf("0x%x %8d %s\n", fent->unknown, fent->length, fent->name);
+ }
+
+}
+
void mkdir_p(char *dir)
{
char *copy, *parent;