From c5b0c941f310f2b90e9d23f5dc5d89f3167cd817 Mon Sep 17 00:00:00 2001 From: Alan Fitton Date: Wed, 7 Sep 2011 15:10:00 +0000 Subject: issue 75 - show total number of seeders/leechers across trackers instead of sending/receiving peers. add new non-default columns for sending to us, receiving from us, and connected. --- src/torrent.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/torrent.h') diff --git a/src/torrent.h b/src/torrent.h index 44e15f5..fc3f752 100644 --- a/src/torrent.h +++ b/src/torrent.h @@ -64,6 +64,9 @@ JsonArray *torrent_get_wanted(JsonObject * t); JsonArray *torrent_get_priorities(JsonObject * t); gint64 torrent_get_id(JsonObject * t); JsonArray *torrent_get_files(JsonObject * args); +gint64 torrent_get_peers_getting_from_us(JsonObject *args); +gint64 torrent_get_peers_sending_to_us(JsonObject *args); +gint64 torrent_get_peers_connected(JsonObject *args); gdouble torrent_get_percent_done(JsonObject * t); gint64 torrent_get_left_until_done(JsonObject * t); gboolean torrent_get_is_finished(JsonObject * t); -- cgit v1.2.3