hc_readlink
n1 = hc_readlink(&SrcHost, spath, link1, GETLINKSIZE - 1);
n2 = hc_readlink(&DstHost, dpath, link2, GETLINKSIZE - 1);
int hc_readlink(struct HostConf *hc, const char *path, char *buf, int bufsiz);