Lines Matching defs:rsync
1 /* $OpenBSD: rsync.c,v 1.56 2024/11/21 13:32:27 claudio Exp $ */
39 * A running rsync process.
43 struct rsync {
44 TAILQ_ENTRY(rsync) entry;
45 char *uri; /* uri of this rsync proc */
52 static TAILQ_HEAD(, rsync) states = TAILQ_HEAD_INITIALIZER(states);
55 * Return the base of a rsync URI (rsync://hostname/module). The
57 * which would result in many rsync calls for almost every subdirectory.
67 /* Case-insensitive rsync URI. */
69 warnx("%s: not using rsync schema", uri);
77 warnx("%s: missing rsync module", uri);
80 warnx("%s: zero-length rsync host", uri);
87 warnx("%s: zero-length rsync module", uri);
187 struct rsync *s;
201 rsync_free(struct rsync *s)
232 struct rsync *s, *ns;
335 warnx("rsync %s terminated abnormally",
340 warnx("rsync %s failed", s->uri);