comparison ffstools/tiffs-rd/main.c @ 230:ffaa033e7643

tiffs IVA: find_inode_block() integrated
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 26 Jan 2014 00:34:22 +0000
parents 24ed817dd25d
children 5ceacdbd4490
comparison
equal deleted inserted replaced
229:24ed817dd25d 230:ffaa033e7643
57 } 57 }
58 total_ffs_size = eraseblk_size * total_blocks; 58 total_ffs_size = eraseblk_size * total_blocks;
59 } 59 }
60 60
61 extern int cmd_blkhdr(); 61 extern int cmd_blkhdr();
62 extern int cmd_fsinfo();
62 63
63 static struct cmdtab { 64 static struct cmdtab {
64 char *cmd; 65 char *cmd;
65 int (*func)(); 66 int (*func)();
66 } cmdtab[] = { 67 } cmdtab[] = {
67 {"blkhdr", cmd_blkhdr}, 68 {"blkhdr", cmd_blkhdr},
68 {"cat", NULL}, 69 {"cat", NULL},
69 {"fsck", NULL}, 70 {"fsck", NULL},
71 {"fsinfo", cmd_fsinfo},
70 {"ls", NULL}, 72 {"ls", NULL},
71 {"xtr", NULL}, 73 {"xtr", NULL},
72 {NULL, NULL} 74 {NULL, NULL}
73 }; 75 };
74 76