15 #ifndef EV3DUDER_FUNCS_H
16 #define EV3DUDER_FUNCS_H
30 extern int up(FILE* loc,
const char *rem);
34 extern int dl(
const char *rem, FILE* loc);
37 extern int info(
const char *arg);
40 extern int run(
const char *rem,
unsigned timeout);
43 extern int ls(
const char *rem);
47 extern int rm(
const char *rem);
50 extern int mkdir(
const char *rem);
53 extern size_t mkrbf(
char **buf,
const char *cmd);
60 #if 0 // not yet implemented
61 extern int cat(
const char *rem,
size_t count);
int ls(const char *rem)
list contents of remote directory rem
int info(const char *arg)
print connection information, beep and exit
int run(const char *rem, unsigned timeout)
run remote .rbf file rem via VM
int dl(const char *rem, FILE *loc)
download remote source rem to local file loc
int up(FILE *loc, const char *rem)
upload local file loc to remote destination rem
int cat(const char *rem, size_t count)
int rm(const char *rem)
remove remote file or directory rem
int mkdir(const char *rem)
create directory rem on remote system
int tunnel()
tunnel stdio to established ev3 connection
size_t mkrbf(char **buf, const char *cmd)
fill *buf with a rbf file executing cmd