FreeCalypso > hg > freecalypso-sw
comparison rvinterf/etmsync/fscmdtab.c @ 299:91570f916dd3
fc-fsio: upload-file and upload-subtree implemented
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Sun, 02 Mar 2014 01:09:30 +0000 |
parents | 0242d5facf7b |
children | 19b846c8abed |
comparison
equal
deleted
inserted
replaced
298:100192a92472 | 299:91570f916dd3 |
---|---|
16 extern int cmd_ll(); | 16 extern int cmd_ll(); |
17 extern int cmd_ls(); | 17 extern int cmd_ls(); |
18 extern int cmd_mkdir(); | 18 extern int cmd_mkdir(); |
19 extern int cmd_stat(); | 19 extern int cmd_stat(); |
20 extern int cmd_uploadfs(); | 20 extern int cmd_uploadfs(); |
21 extern int cmd_upload_file(); | |
22 extern int cmd_upload_subtree(); | |
21 | 23 |
22 struct cmdtab cmdtab[] = { | 24 struct cmdtab cmdtab[] = { |
23 {"cpout", 2, 2, cmd_cpout}, | 25 {"cpout", 2, 2, cmd_cpout}, |
24 {"cpout-file", 2, 2, cmd_cpout_file}, | 26 {"cpout-file", 2, 2, cmd_cpout_file}, |
25 {"delete", 1, 1, cmd_delete}, | 27 {"delete", 1, 1, cmd_delete}, |
31 {"hd", 1, 1, cmd_hd}, | 33 {"hd", 1, 1, cmd_hd}, |
32 {"ll", 1, 1, cmd_ll}, | 34 {"ll", 1, 1, cmd_ll}, |
33 {"ls", 1, 1, cmd_ls}, | 35 {"ls", 1, 1, cmd_ls}, |
34 {"mkdir", 1, 1, cmd_mkdir}, | 36 {"mkdir", 1, 1, cmd_mkdir}, |
35 {"stat", 1, 1, cmd_stat}, | 37 {"stat", 1, 1, cmd_stat}, |
38 {"upload-file", 2, 2, cmd_upload_file}, | |
36 {"upload-fs", 1, 1, cmd_uploadfs}, | 39 {"upload-fs", 1, 1, cmd_uploadfs}, |
40 {"upload-subtree", 2, 2, cmd_upload_subtree}, | |
37 {0, 0, 0, 0} | 41 {0, 0, 0, 0} |
38 }; | 42 }; |