FreeCalypso > hg > freecalypso-sw
comparison ffstools/tiffs-rd/main.c @ 233:ae9ff2d1e3da
tiffs IVA: basic ls integrated
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Sun, 26 Jan 2014 10:54:42 +0000 |
parents | 5ceacdbd4490 |
children | 0b13839f782c |
comparison
equal
deleted
inserted
replaced
232:73372cfdaf7f | 233:ae9ff2d1e3da |
---|---|
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_fsinfo(); | 57 extern int cmd_fsinfo(); |
58 extern int cmd_ls(); | |
58 | 59 |
59 static struct cmdtab { | 60 static struct cmdtab { |
60 char *cmd; | 61 char *cmd; |
61 int (*func)(); | 62 int (*func)(); |
62 } cmdtab[] = { | 63 } cmdtab[] = { |
63 {"blkhdr", cmd_blkhdr}, | 64 {"blkhdr", cmd_blkhdr}, |
64 {"cat", NULL}, | 65 {"cat", NULL}, |
65 {"fsck", NULL}, | 66 {"fsck", NULL}, |
66 {"fsinfo", cmd_fsinfo}, | 67 {"fsinfo", cmd_fsinfo}, |
67 {"ls", NULL}, | 68 {"ls", cmd_ls}, |
68 {"xtr", NULL}, | 69 {"xtr", NULL}, |
69 {NULL, NULL} | 70 {NULL, NULL} |
70 }; | 71 }; |
71 | 72 |
72 main(argc, argv) | 73 main(argc, argv) |