summary refs log tree commit diff
path: root/misc
diff options
context:
space:
mode:
authorRichard Nyberg <rnyberg@murmeldjur.se>2006-10-07 09:47:07 +0000
committerRichard Nyberg <rnyberg@murmeldjur.se>2006-10-07 09:47:07 +0000
commite652eefa2642213b073298de5e5019486ee728ba (patch)
tree2563217866f45396f1b24cc0caeee79b24987d5b /misc
parent7ae55cac4d141b2485d7a670437b8643060ebf5d (diff)
downloadbtpd-e652eefa2642213b073298de5e5019486ee728ba.tar.gz
btpd-e652eefa2642213b073298de5e5019486ee728ba.zip
Add value queries for total amount up- and downloaded. Use the cached values
for torrent size and amount gotten when the torrent isn't active.

Diffstat (limited to 'misc')
-rw-r--r--misc/ipcdefs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/ipcdefs.h b/misc/ipcdefs.h
index 612c118..f36d724 100644
--- a/misc/ipcdefs.h
+++ b/misc/ipcdefs.h
@@ -38,6 +38,8 @@ TVDEF(RATEUP,   NUM,            "rate_up")
 TVDEF(SESSDWN,  NUM,            "sess_down")
 TVDEF(SESSUP,   NUM,            "sess_up")
 TVDEF(STATE,    TSTATE,         "state")
+TVDEF(TOTDWN,   NUM,            "total_down")
+TVDEF(TOTUP,    NUM,            "total_up")
 TVDEF(TRERR,    NUM,            "tr_errors")
 #ifdef __IPCTV
 #undef __IPCTV