about summary refs log tree commit diff
path: root/cli/btpd_if.h
diff options
context:
space:
mode:
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[];
 };