.dstF = (FILE_FUNC*)&REMOTE_FILE_FUNC,
.tag = {'p', 'u', 's', 'h', 'e', 'd', '\0'},
};
+
+ fprintf(stdout,"%s\n", MSG_SYNC_SECURE_WARNING);
for (i=1; i<argc-1; i++) {
info.copied = 0;
info.skipped = 0;
.total_bytes = 0,
.tag = {'p', 'u', 's', 'h', 'e', 'd', '\0'},
};
+
+ fprintf(stdout,"%s\n", MSG_SYNC_SECURE_WARNING);
if(do_sync_copy(srcpath, destination, &info, 0)) {
return 1;
}
const char* ERR_SYNC_NOT_DIRECTORY = "'%s' is not a directory";
const char* ERR_SYNC_LOCKED = "'%s' is locked";
const char* ERR_SYNC_CANNOT_ACCESS = "cannot access '%s'";
+const char* MSG_SYNC_SECURE_WARNING = "WARNING: Your data is to be sent over an unencrypted connection and could be read by others.";
const char* ERR_CONNECT_MORE_THAN_ONE_TARGET = "more than one target found. Specify the target with -s option.";
const char* ERR_CONNECT_MORE_THAN_ONE_EMUL = "more than one emulator found. Specify the emulator with -e option.";
extern const char* ERR_SYNC_NOT_DIRECTORY;
extern const char* ERR_SYNC_LOCKED;
extern const char* ERR_SYNC_CANNOT_ACCESS;
+extern const char* MSG_SYNC_SECURE_WARNING;
extern const char* ERR_CONNECT_MORE_THAN_ONE_TARGET;
extern const char* ERR_CONNECT_MORE_THAN_ONE_EMUL;