git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@494
959494ce-11ee-0310-bf91-
de5d638817bd
static void killfilter(struct transfer *transfer);
static void killfilter(struct transfer *transfer);
+unsigned long long bytesupload = 0;
+unsigned long long bytesdownload = 0;
struct transfer *transfers = NULL;
int numtransfers = 0;
GCBCHAIN(newtransfercb, struct transfer *);
struct transfer *transfers = NULL;
int numtransfers = 0;
GCBCHAIN(newtransfercb, struct transfer *);
time(&transfer->activity);
sockqueue(transfer->localend, buf, size);
transfer->curpos += size;
time(&transfer->activity);
sockqueue(transfer->localend, buf, size);
transfer->curpos += size;
CBCHAINDOCB(transfer, trans_p, transfer);
}
CBCHAINDOCB(transfer, trans_p, transfer);
}
buf = srealloc(buf, *size);
}
transfer->curpos += *size;
buf = srealloc(buf, *size);
}
transfer->curpos += *size;
CBCHAINDOCB(transfer, trans_p, transfer);
return(buf);
}
CBCHAINDOCB(transfer, trans_p, transfer);
return(buf);
}