Keep stats on downloaded and uploaded bytes.
authorfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Wed, 9 Nov 2005 03:47:54 +0000 (03:47 +0000)
committerfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Wed, 9 Nov 2005 03:47:54 +0000 (03:47 +0000)
git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@495 959494ce-11ee-0310-bf91-de5d638817bd

daemon/transfer.h

index 07e3e3f..f67898f 100644 (file)
@@ -121,6 +121,8 @@ void transferstartdl(struct transfer *transfer, struct socket *sk);
 void trytransferbypeer(struct fnet *fnet, wchar_t *peerid);
 
 extern struct transfer *transfers;
+extern unsigned long long bytesupload;
+extern unsigned long long bytesdownload;
 EGCBCHAIN(newtransfercb, struct transfer *);
 
 #endif