summary refs log tree commit diff
path: root/cli/btpd_if.h
diff options
context:
space:
mode:
authorRichard Nyberg <rnyberg@murmeldjur.se>2006-02-10 15:41:55 +0000
committerRichard Nyberg <rnyberg@murmeldjur.se>2006-02-10 15:41:55 +0000
commitb43809ba555622797d2acaf0a6a58628983b8946 (patch)
tree54f616810388a821d8ef7b68e5438d6523088d7f /cli/btpd_if.h
parentbf75d6af1c573fea1043c81cdeb2c634dedb240c (diff)
downloadbtpd-b43809ba555622797d2acaf0a6a58628983b8946.tar.gz
btpd-b43809ba555622797d2acaf0a6a58628983b8946.zip
Mostly name changes. Add a missing include. Changed the torrent status
characters displayed by btcli.

Diffstat (limited to 'cli/btpd_if.h')
-rw-r--r--cli/btpd_if.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/cli/btpd_if.h b/cli/btpd_if.h
index b7096aa..1cc51d9 100644
--- a/cli/btpd_if.h
+++ b/cli/btpd_if.h
@@ -22,12 +22,11 @@ struct btstat {
         uint8_t *hash;
         char *name;
         enum torrent_state state;
-
-        unsigned errors;
-        unsigned npeers;
-        uint32_t npieces, nseen;
-        off_t have, total;
-        long long downloaded, uploaded;
+        unsigned tr_errors;
+        unsigned peers;
+        uint32_t pieces_got, pieces_seen, torrent_pieces;
+        off_t content_got, content_size;
+        unsigned long long downloaded, uploaded;
         unsigned long rate_up, rate_down;
     } torrents[];
 };