comparison rvinterf/etmsync/fscmdtab.c @ 302:cd5068cf0551

fc-fsio: symlink command implemented
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 02 Mar 2014 04:34:49 +0000
parents 8dd522a8d60e
children 61c68a55f2a2
comparison
equal deleted inserted replaced
301:8dd522a8d60e 302:cd5068cf0551
19 extern int cmd_mkdir(); 19 extern int cmd_mkdir();
20 extern int cmd_preformat(); 20 extern int cmd_preformat();
21 extern int cmd_set_imeisv(); 21 extern int cmd_set_imeisv();
22 extern int cmd_set_pcm_string(); 22 extern int cmd_set_pcm_string();
23 extern int cmd_stat(); 23 extern int cmd_stat();
24 extern int cmd_symlink();
24 extern int cmd_uploadfs(); 25 extern int cmd_uploadfs();
25 extern int cmd_upload_file(); 26 extern int cmd_upload_file();
26 extern int cmd_upload_subtree(); 27 extern int cmd_upload_subtree();
27 28
28 struct cmdtab cmdtab[] = { 29 struct cmdtab cmdtab[] = {
41 {"mkdir", 1, 1, cmd_mkdir}, 42 {"mkdir", 1, 1, cmd_mkdir},
42 {"preformat", 0, 0, cmd_preformat}, 43 {"preformat", 0, 0, cmd_preformat},
43 {"set-imeisv", 2, 2, cmd_set_imeisv}, 44 {"set-imeisv", 2, 2, cmd_set_imeisv},
44 {"set-pcm-string", 2, 2, cmd_set_pcm_string}, 45 {"set-pcm-string", 2, 2, cmd_set_pcm_string},
45 {"stat", 1, 1, cmd_stat}, 46 {"stat", 1, 1, cmd_stat},
47 {"symlink", 2, 2, cmd_symlink},
46 {"upload-file", 2, 2, cmd_upload_file}, 48 {"upload-file", 2, 2, cmd_upload_file},
47 {"upload-fs", 1, 1, cmd_uploadfs}, 49 {"upload-fs", 1, 1, cmd_uploadfs},
48 {"upload-subtree", 2, 2, cmd_upload_subtree}, 50 {"upload-subtree", 2, 2, cmd_upload_subtree},
49 {0, 0, 0, 0} 51 {0, 0, 0, 0}
50 }; 52 };