summaryrefslogtreecommitdiff
path: root/src/torrent.h
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-08-27 22:24:12 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-08-27 22:24:12 +0000
commited3cec7420b188b85a1585479215f519a301fc37 (patch)
tree2e9cc02b7361e5f70e88f7f7809d7ff37dab0735 /src/torrent.h
parent7020a3a7db7ce7e192e7b84e0f359b85584fe1a4 (diff)
issue 58
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 85d9632..77a3004 100644
--- a/src/torrent.h
+++ b/src/torrent.h
@@ -34,6 +34,9 @@
#define FILTER_FLAG_TRACKER (1 << 9) /* 0x512 */
#define FILTER_FLAG_DIR (1 << 10) /* 0x1024 */
+#define TORRENT_ADD_FLAG_PAUSED (1 << 0) /* 0x01 */
+#define TORRENT_ADD_FLAG_DELETE (1 << 1) /* 0x02 */
+
gint64 torrent_get_size(JsonObject * t);
const gchar *torrent_get_name(JsonObject * t);
gint64 torrent_get_rate_down(JsonObject * t);