download
download_reinit(struct sess *sess, struct download *p, size_t idx)
download_cleanup(struct download *p, int cleanup)
struct download *
struct download *p;
if ((p = malloc(sizeof(struct download))) == NULL) {
download_free(struct download *p)
buf_copy(const char *buf, size_t sz, struct download *p)
rsync_downloader(struct download *p, struct sess *sess, int *ofd)
const struct download *dl, const struct flist *f)
struct download;
int rsync_downloader(struct download *, struct sess *, int *);
struct download *download_alloc(struct sess *, int, const struct flist *,
void download_free(struct download *);
struct download *dl = NULL;
void download(int argc, char **argv);
{ "download", download },