comparison rvinterf/etmsync/fscmdtab.c @ 287:211b35db427c

fc-fsio: cpout of single files implemented
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Fri, 28 Feb 2014 08:22:50 +0000
parents 146e7bf3fa4e
children 76228aecf0d9
comparison
equal deleted inserted replaced
286:146e7bf3fa4e 287:211b35db427c
2 * fc-fsio command dispatch table 2 * fc-fsio command dispatch table
3 */ 3 */
4 4
5 #include "cmdtab.h" 5 #include "cmdtab.h"
6 6
7 extern int cmd_cpout();
7 extern int cmd_exec(); 8 extern int cmd_exec();
8 extern int cmd_exit(); 9 extern int cmd_exit();
9 extern int cmd_fd(); 10 extern int cmd_fd();
10 extern int cmd_ffs2ver(); 11 extern int cmd_ffs2ver();
11 extern int cmd_hd(); 12 extern int cmd_hd();
12 extern int cmd_ll(); 13 extern int cmd_ll();
13 extern int cmd_ls(); 14 extern int cmd_ls();
14 extern int cmd_stat(); 15 extern int cmd_stat();
15 16
16 struct cmdtab cmdtab[] = { 17 struct cmdtab cmdtab[] = {
18 {"cpout", 2, 2, cmd_cpout},
17 {"exec", 1, 1, cmd_exec}, 19 {"exec", 1, 1, cmd_exec},
18 {"exit", 0, 0, cmd_exit}, 20 {"exit", 0, 0, cmd_exit},
19 {"fd", 2, 3, cmd_fd}, 21 {"fd", 2, 3, cmd_fd},
20 {"ffs2ver", 0, 0, cmd_ffs2ver}, 22 {"ffs2ver", 0, 0, cmd_ffs2ver},
21 {"hd", 1, 1, cmd_hd}, 23 {"hd", 1, 1, cmd_hd},