Searched refs:SrcHost (Results 1 – 1 of 1) sorted by relevance
/dragonfly/bin/cpdup/ |
H A D | cpdup.c | 177 static struct HostConf SrcHost; variable 309 SrcHost.host = src; in main() 313 if (hc_connect(&SrcHost, ReadOnlyOpt) < 0) in main() 316 SrcHost.version = HCPROTO_VERSION; in main() 649 fd1 = hc_open(&SrcHost, spath, O_RDONLY, 0); in validate_check() 659 while ((n = hc_read(&SrcHost, fd1, iobuf1, GETIOSIZE)) > 0) { in validate_check() 675 hc_close(&SrcHost, fd1); in validate_check() 701 if (hc_lstat(&SrcHost, spath, &st1) != 0) { in DoCopy() 1118 if ((fd1 = hc_open(&SrcHost, spath, O_RDONLY, 0)) >= 0) { in DoCopy() 1204 hc_close(&SrcHost, fd1); in DoCopy() [all …]
|