FreeCalypso > hg > freecalypso-tools
annotate rvinterf/etmsync/tmscmdtab.c @ 276:d332fbf5c145
etmsync: host_mkdir() function factored out of fc-fsio
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 17 Nov 2017 00:26:09 +0000 |
parents | f22874b351b7 |
children | 94234e9c843b |
rev | line source |
---|---|
269
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 /* |
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 * fc-tmsync command dispatch table |
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 */ |
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 |
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 #include "cmdtab.h" |
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 |
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 extern int cmd_dieid(); |
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 extern int cmd_exec(); |
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 extern int cmd_exit(); |
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 extern int cmd_memdump(); |
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 extern int cmd_omemdump(); |
274
f22874b351b7
fc-tmsync: L1TM operation commands hooked in
Mychaela Falconia <falcon@freecalypso.org>
parents:
269
diff
changeset
|
12 extern int cmd_rfpr(); |
f22874b351b7
fc-tmsync: L1TM operation commands hooked in
Mychaela Falconia <falcon@freecalypso.org>
parents:
269
diff
changeset
|
13 extern int cmd_rfpw(); |
f22874b351b7
fc-tmsync: L1TM operation commands hooked in
Mychaela Falconia <falcon@freecalypso.org>
parents:
269
diff
changeset
|
14 extern int cmd_rftr(); |
f22874b351b7
fc-tmsync: L1TM operation commands hooked in
Mychaela Falconia <falcon@freecalypso.org>
parents:
269
diff
changeset
|
15 extern int cmd_tms(); |
f22874b351b7
fc-tmsync: L1TM operation commands hooked in
Mychaela Falconia <falcon@freecalypso.org>
parents:
269
diff
changeset
|
16 extern int cmd_ttr(); |
269
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 |
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 extern int get_pirelli_imei(); |
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 |
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 struct cmdtab cmdtab[] = { |
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 {"dieid", 0, 0, cmd_dieid}, |
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 {"exec", 1, 1, cmd_exec}, |
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 {"exit", 0, 0, cmd_exit}, |
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 {"memdump", 2, 2, cmd_memdump}, |
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 {"omemdump", 2, 2, cmd_omemdump}, |
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 {"pirelli-get-imei", 0, 0, get_pirelli_imei}, |
274
f22874b351b7
fc-tmsync: L1TM operation commands hooked in
Mychaela Falconia <falcon@freecalypso.org>
parents:
269
diff
changeset
|
27 {"rfpr", 1, 1, cmd_rfpr}, |
f22874b351b7
fc-tmsync: L1TM operation commands hooked in
Mychaela Falconia <falcon@freecalypso.org>
parents:
269
diff
changeset
|
28 {"rfpw", 2, 3, cmd_rfpw}, |
f22874b351b7
fc-tmsync: L1TM operation commands hooked in
Mychaela Falconia <falcon@freecalypso.org>
parents:
269
diff
changeset
|
29 {"rftr", 1, 1, cmd_rftr}, |
f22874b351b7
fc-tmsync: L1TM operation commands hooked in
Mychaela Falconia <falcon@freecalypso.org>
parents:
269
diff
changeset
|
30 {"tms", 1, 1, cmd_tms}, |
f22874b351b7
fc-tmsync: L1TM operation commands hooked in
Mychaela Falconia <falcon@freecalypso.org>
parents:
269
diff
changeset
|
31 {"ttr", 1, 1, cmd_ttr}, |
269
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
32 {0, 0, 0, 0} |
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
33 }; |