summaryrefslogtreecommitdiff
path: root/src/torrent.h
diff options
context:
space:
mode:
authorGravatar Alan <alan@ajfx200.localdomain>2012-08-24 14:19:50 +0100
committerGravatar Alan <alan@ajfx200.localdomain>2012-08-24 14:19:50 +0100
commitb0ad42a97cc5fb962d229b9c9743989e2f47216f (patch)
treed0e6cb0619e391e6d347c76b844f6ad83421a85c /src/torrent.h
parente5e0975a6302924c06da9426fca637950011ed20 (diff)
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.
Diffstat (limited to 'src/torrent.h')
-rw-r--r--src/torrent.h3
1 files changed, 2 insertions, 1 deletions
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);