rsync
rp->rsync = rsync_get(uri, rp->basedir);
if (rp->rsync == NULL)
} else if (rp->rsync) {
if ((path = strdup(rp->rsync->basedir)) == NULL)
!(rp->rrdp == NULL && rp->rsync == NULL && rp->ta == NULL))
else if (rp->rsync)
rsync_finish(rp->rsync->id, 0);
if (rp->rsync) {
rsync_abort(rp->rsync->id);
if (rp->rsync)
return rp->rsync->state;
if (vp != rp->ta && vp != rp->rsync && vp != rp->rrdp)
rp->rsync = rsync_get(rp->repouri, rp->basedir);
const struct rsyncrepo *rsync;
struct rsync *s;
rsync_free(struct rsync *s)
rsync_status(struct rsync *s, int st, int *rc)
struct rsync *s, *ns;
TAILQ_ENTRY(rsync) entry;
static TAILQ_HEAD(, rsync) states = TAILQ_HEAD_INITIALIZER(states);