annotate rvinterf/etmsync/fscmdtab.c @ 1034:405b5469abc4 default tip

top README: repository change notice
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 12 Jun 2016 19:06:34 +0000
parents ce0ded19a769
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
276
909f00c15f27 more fc-fsio foundation
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1 /*
909f00c15f27 more fc-fsio foundation
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2 * fc-fsio command dispatch table
909f00c15f27 more fc-fsio foundation
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
3 */
909f00c15f27 more fc-fsio foundation
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
4
909f00c15f27 more fc-fsio foundation
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
5 #include "cmdtab.h"
909f00c15f27 more fc-fsio foundation
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
6
287
211b35db427c fc-fsio: cpout of single files implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 286
diff changeset
7 extern int cmd_cpout();
295
3dd74b16df82 fc-fsio: pathname recursion handling revamped
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 291
diff changeset
8 extern int cmd_cpout_file();
290
76228aecf0d9 fc-fsio: mkdir and delete implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 287
diff changeset
9 extern int cmd_delete();
912
f50c71442d50 etmsync: die ID read implemented
Space Falcon <falcon@ivan.Harhan.ORG>
parents: 911
diff changeset
10 extern int cmd_dieid();
276
909f00c15f27 more fc-fsio foundation
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
11 extern int cmd_exec();
909f00c15f27 more fc-fsio foundation
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
12 extern int cmd_exit();
286
146e7bf3fa4e fc-fsio: fd debug commands implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 285
diff changeset
13 extern int cmd_fd();
278
f77480d3dd21 fc-fsio: first ffs2ver command implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 276
diff changeset
14 extern int cmd_ffs2ver();
300
19b846c8abed fc-fsio: format and preformat commands added
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 299
diff changeset
15 extern int cmd_format();
291
69e8ae2b5ba2 fc-fsio: fwrite implementation started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 290
diff changeset
16 extern int cmd_fwrite();
285
bb28ba9e82c5 fc-fsio: file read primitive and hd command implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 283
diff changeset
17 extern int cmd_hd();
283
88eed3327682 fc-fsio: ll command implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 282
diff changeset
18 extern int cmd_ll();
279
36ad667341fc fc-fsio: ls implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 278
diff changeset
19 extern int cmd_ls();
911
42719fa3e6af etmsync: memory read implemented
Space Falcon <falcon@ivan.Harhan.ORG>
parents: 303
diff changeset
20 extern int cmd_memdump();
290
76228aecf0d9 fc-fsio: mkdir and delete implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 287
diff changeset
21 extern int cmd_mkdir();
977
ce0ded19a769 rvinterf: first attempt at TM3 memory read: omemdump command in fc-fsio
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 936
diff changeset
22 extern int cmd_omemdump();
300
19b846c8abed fc-fsio: format and preformat commands added
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 299
diff changeset
23 extern int cmd_preformat();
303
61c68a55f2a2 fc-fsio: readlink implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 302
diff changeset
24 extern int cmd_readlink();
301
8dd522a8d60e fc-fsio: set-imeisv and set-pcm-string added from fc-tmsh
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 300
diff changeset
25 extern int cmd_set_imeisv();
8dd522a8d60e fc-fsio: set-imeisv and set-pcm-string added from fc-tmsh
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 300
diff changeset
26 extern int cmd_set_pcm_string();
913
091ebd46a9cc user-friendly set-rfcap implemented in fc-fsio
Space Falcon <falcon@ivan.Harhan.ORG>
parents: 912
diff changeset
27 extern int cmd_set_rfcap();
282
517e8a428fde fc-fsio: xlstat operation implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 279
diff changeset
28 extern int cmd_stat();
302
cd5068cf0551 fc-fsio: symlink command implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 301
diff changeset
29 extern int cmd_symlink();
297
0242d5facf7b fc-fsio: upload-fs implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 295
diff changeset
30 extern int cmd_uploadfs();
299
91570f916dd3 fc-fsio: upload-file and upload-subtree implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 297
diff changeset
31 extern int cmd_upload_file();
91570f916dd3 fc-fsio: upload-file and upload-subtree implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 297
diff changeset
32 extern int cmd_upload_subtree();
276
909f00c15f27 more fc-fsio foundation
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
33
914
de0505be800d fc-fsio: create-std-dirs implemented
Space Falcon <falcon@ivan.Harhan.ORG>
parents: 913
diff changeset
34 extern int create_std_dirs();
de0505be800d fc-fsio: create-std-dirs implemented
Space Falcon <falcon@ivan.Harhan.ORG>
parents: 913
diff changeset
35
276
909f00c15f27 more fc-fsio foundation
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
36 struct cmdtab cmdtab[] = {
287
211b35db427c fc-fsio: cpout of single files implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 286
diff changeset
37 {"cpout", 2, 2, cmd_cpout},
295
3dd74b16df82 fc-fsio: pathname recursion handling revamped
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 291
diff changeset
38 {"cpout-file", 2, 2, cmd_cpout_file},
914
de0505be800d fc-fsio: create-std-dirs implemented
Space Falcon <falcon@ivan.Harhan.ORG>
parents: 913
diff changeset
39 {"create-std-dirs", 0, 0, create_std_dirs},
290
76228aecf0d9 fc-fsio: mkdir and delete implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 287
diff changeset
40 {"delete", 1, 1, cmd_delete},
912
f50c71442d50 etmsync: die ID read implemented
Space Falcon <falcon@ivan.Harhan.ORG>
parents: 911
diff changeset
41 {"dieid", 0, 0, cmd_dieid},
276
909f00c15f27 more fc-fsio foundation
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
42 {"exec", 1, 1, cmd_exec},
909f00c15f27 more fc-fsio foundation
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
43 {"exit", 0, 0, cmd_exit},
286
146e7bf3fa4e fc-fsio: fd debug commands implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 285
diff changeset
44 {"fd", 2, 3, cmd_fd},
278
f77480d3dd21 fc-fsio: first ffs2ver command implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 276
diff changeset
45 {"ffs2ver", 0, 0, cmd_ffs2ver},
300
19b846c8abed fc-fsio: format and preformat commands added
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 299
diff changeset
46 {"format", 1, 1, cmd_format},
291
69e8ae2b5ba2 fc-fsio: fwrite implementation started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 290
diff changeset
47 {"fwrite", 3, 3, cmd_fwrite},
285
bb28ba9e82c5 fc-fsio: file read primitive and hd command implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 283
diff changeset
48 {"hd", 1, 1, cmd_hd},
283
88eed3327682 fc-fsio: ll command implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 282
diff changeset
49 {"ll", 1, 1, cmd_ll},
279
36ad667341fc fc-fsio: ls implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 278
diff changeset
50 {"ls", 1, 1, cmd_ls},
911
42719fa3e6af etmsync: memory read implemented
Space Falcon <falcon@ivan.Harhan.ORG>
parents: 303
diff changeset
51 {"memdump", 2, 2, cmd_memdump},
290
76228aecf0d9 fc-fsio: mkdir and delete implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 287
diff changeset
52 {"mkdir", 1, 1, cmd_mkdir},
936
1e80730db11b fc-fsio: mk-std-dirs alias for create-std-dirs
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 914
diff changeset
53 {"mk-std-dirs", 0, 0, create_std_dirs},
977
ce0ded19a769 rvinterf: first attempt at TM3 memory read: omemdump command in fc-fsio
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 936
diff changeset
54 {"omemdump", 2, 2, cmd_omemdump},
300
19b846c8abed fc-fsio: format and preformat commands added
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 299
diff changeset
55 {"preformat", 0, 0, cmd_preformat},
303
61c68a55f2a2 fc-fsio: readlink implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 302
diff changeset
56 {"readlink", 1, 1, cmd_readlink},
301
8dd522a8d60e fc-fsio: set-imeisv and set-pcm-string added from fc-tmsh
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 300
diff changeset
57 {"set-imeisv", 2, 2, cmd_set_imeisv},
8dd522a8d60e fc-fsio: set-imeisv and set-pcm-string added from fc-tmsh
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 300
diff changeset
58 {"set-pcm-string", 2, 2, cmd_set_pcm_string},
913
091ebd46a9cc user-friendly set-rfcap implemented in fc-fsio
Space Falcon <falcon@ivan.Harhan.ORG>
parents: 912
diff changeset
59 {"set-rfcap", 1, 1, cmd_set_rfcap},
282
517e8a428fde fc-fsio: xlstat operation implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 279
diff changeset
60 {"stat", 1, 1, cmd_stat},
302
cd5068cf0551 fc-fsio: symlink command implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 301
diff changeset
61 {"symlink", 2, 2, cmd_symlink},
299
91570f916dd3 fc-fsio: upload-file and upload-subtree implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 297
diff changeset
62 {"upload-file", 2, 2, cmd_upload_file},
297
0242d5facf7b fc-fsio: upload-fs implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 295
diff changeset
63 {"upload-fs", 1, 1, cmd_uploadfs},
299
91570f916dd3 fc-fsio: upload-file and upload-subtree implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 297
diff changeset
64 {"upload-subtree", 2, 2, cmd_upload_subtree},
276
909f00c15f27 more fc-fsio foundation
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
65 {0, 0, 0, 0}
909f00c15f27 more fc-fsio foundation
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
66 };