FreeCalypso > hg > freecalypso-tools
comparison rvinterf/etmsync/tmscmdtab.c @ 841:379574e5cf5e
fc-tmsync aur command implemented
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 31 Jul 2021 08:29:24 +0000 |
parents | 886f65760d09 |
children | 9da5fb3f42dd |
comparison
equal
deleted
inserted
replaced
840:25a182bc031b | 841:379574e5cf5e |
---|---|
2 * fc-tmsync command dispatch table | 2 * fc-tmsync command dispatch table |
3 */ | 3 */ |
4 | 4 |
5 #include "cmdtab.h" | 5 #include "cmdtab.h" |
6 | 6 |
7 extern int cmd_aur(); | |
7 extern int cmd_dieid(); | 8 extern int cmd_dieid(); |
8 extern int cmd_exec(); | 9 extern int cmd_exec(); |
9 extern int cmd_exit(); | 10 extern int cmd_exit(); |
10 extern int cmd_memdump(); | 11 extern int cmd_memdump(); |
11 extern int cmd_omemdump(); | 12 extern int cmd_omemdump(); |
18 | 19 |
19 extern int get_pirelli_vbat_cal(); | 20 extern int get_pirelli_vbat_cal(); |
20 extern int get_pirelli_imei(); | 21 extern int get_pirelli_imei(); |
21 | 22 |
22 struct cmdtab cmdtab[] = { | 23 struct cmdtab cmdtab[] = { |
24 {"aur", 1, 1, cmd_aur}, | |
23 {"dieid", 0, 0, cmd_dieid}, | 25 {"dieid", 0, 0, cmd_dieid}, |
24 {"exec", 1, 1, cmd_exec}, | 26 {"exec", 1, 1, cmd_exec}, |
25 {"exit", 0, 0, cmd_exit}, | 27 {"exit", 0, 0, cmd_exit}, |
26 {"memdump", 2, 2, cmd_memdump}, | 28 {"memdump", 2, 2, cmd_memdump}, |
27 {"omemdump", 2, 2, cmd_omemdump}, | 29 {"omemdump", 2, 2, cmd_omemdump}, |