file_sync_client.c | 337 static int sync_send(int fd, const char *lpath, const char *rpath, 366 write_data_file(fd, lpath, sbuf, show_progress); 369 write_data_link(fd, lpath, sbuf); 393 fprintf(stderr,"failed to copy '%s' to '%s': %s\n", lpath, rpath, sbuf->data); 424 int sync_recv(int fd, const char *rpath, const char *lpath, int show_progress) 469 adb_unlink(lpath); 470 mkdirs(lpath); 471 lfd = adb_creat(lpath, 0644); 473 fprintf(stderr,"cannot create '%s': %s\n", lpath, strerror(errno)); 520 adb_unlink(lpath); 818 const char *lpath; member in struct:__anon63393 [all...] |