summaryrefslogtreecommitdiff
path: root/src/torrent.h
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-09-07 15:10:00 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-09-07 15:10:00 +0000
commitc5b0c941f310f2b90e9d23f5dc5d89f3167cd817 (patch)
tree78d6c4211327773f00682e17a69a5260a2eb6388 /src/torrent.h
parent13fb8f29b209e9b948375f6d7888fb8c637c2cd4 (diff)
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.
Diffstat (limited to 'src/torrent.h')
-rw-r--r--src/torrent.h3
1 files changed, 3 insertions, 0 deletions
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);