FreeCalypso > hg > freecalypso-tools
comparison rvinterf/etmsync/fscmdtab.c @ 594:2c75cf810146
fc-fsio: cleandir command implemented
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 04 Feb 2020 05:09:13 +0000 |
parents | a0754c98fc2b |
children | e6fe9d25377a |
comparison
equal
deleted
inserted
replaced
593:f315cdb1555f | 594:2c75cf810146 |
---|---|
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_cleandir(); | |
7 extern int cmd_cpout(); | 8 extern int cmd_cpout(); |
8 extern int cmd_cpout_file(); | 9 extern int cmd_cpout_file(); |
9 extern int cmd_delete(); | 10 extern int cmd_delete(); |
10 extern int cmd_dieid(); | 11 extern int cmd_dieid(); |
11 extern int cmd_exec(); | 12 extern int cmd_exec(); |
38 extern int create_std_dirs(); | 39 extern int create_std_dirs(); |
39 extern int get_pirelli_imei(); | 40 extern int get_pirelli_imei(); |
40 extern int pirelli_magnetite_init(); | 41 extern int pirelli_magnetite_init(); |
41 | 42 |
42 struct cmdtab cmdtab[] = { | 43 struct cmdtab cmdtab[] = { |
44 {"cleandir", 1, 1, cmd_cleandir}, | |
43 {"cpout", 2, 2, cmd_cpout}, | 45 {"cpout", 2, 2, cmd_cpout}, |
44 {"cpout-file", 2, 2, cmd_cpout_file}, | 46 {"cpout-file", 2, 2, cmd_cpout_file}, |
45 {"create-std-dirs", 0, 0, create_std_dirs}, | 47 {"create-std-dirs", 0, 0, create_std_dirs}, |
46 {"delete", 1, 1, cmd_delete}, | 48 {"delete", 1, 1, cmd_delete}, |
47 {"dieid", 0, 0, cmd_dieid}, | 49 {"dieid", 0, 0, cmd_dieid}, |