From b0ad42a97cc5fb962d229b9c9743989e2f47216f Mon Sep 17 00:00:00 2001 From: Alan Date: Fri, 24 Aug 2012 14:19:50 +0100 Subject: consider seed ratios in the new cell renderer like Transmisson does, as well as some other scenarios so it behaves almost like the Transmission. lots of new fields added to the model for this. --- src/torrent.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/torrent.h') diff --git a/src/torrent.h b/src/torrent.h index 1bafd14..163df39 100644 --- a/src/torrent.h +++ b/src/torrent.h @@ -44,7 +44,8 @@ #define TORRENT_ADD_FLAG_PAUSED (1 << 0) /* 0x01 */ #define TORRENT_ADD_FLAG_DELETE (1 << 1) /* 0x02 */ -gint64 torrent_get_size(JsonObject * t); +gint64 torrent_get_total_size(JsonObject *t); +gint64 torrent_get_size_when_done(JsonObject * t); const gchar *torrent_get_name(JsonObject * t); gint64 torrent_get_rate_down(JsonObject * t); gint64 torrent_get_rate_up(JsonObject * t); -- cgit v1.2.3