comparison ffstools/tiffs-rd/main.c @ 241:c95efd27fb2e

tiffs catino implemented
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 27 Jan 2014 02:59:45 +0000
parents acedd4c88d2e
children 43642cf7c98c
comparison
equal deleted inserted replaced
240:acedd4c88d2e 241:c95efd27fb2e
53 inode_limit = eraseblk_size >> 4; 53 inode_limit = eraseblk_size >> 4;
54 } 54 }
55 55
56 extern int cmd_blkhdr(); 56 extern int cmd_blkhdr();
57 extern int cmd_cat(); 57 extern int cmd_cat();
58 extern int cmd_catino();
58 extern int cmd_fsinfo(); 59 extern int cmd_fsinfo();
59 extern int cmd_ls(); 60 extern int cmd_ls();
60 extern int cmd_lsino(); 61 extern int cmd_lsino();
61 62
62 static struct cmdtab { 63 static struct cmdtab {
63 char *cmd; 64 char *cmd;
64 int (*func)(); 65 int (*func)();
65 } cmdtab[] = { 66 } cmdtab[] = {
66 {"blkhdr", cmd_blkhdr}, 67 {"blkhdr", cmd_blkhdr},
67 {"cat", cmd_cat}, 68 {"cat", cmd_cat},
69 {"catino", cmd_catino},
68 {"fsck", NULL}, 70 {"fsck", NULL},
69 {"fsinfo", cmd_fsinfo}, 71 {"fsinfo", cmd_fsinfo},
70 {"ls", cmd_ls}, 72 {"ls", cmd_ls},
71 {"lsino", cmd_lsino}, 73 {"lsino", cmd_lsino},
72 {"xtr", NULL}, 74 {"xtr", NULL},