summaryrefslogtreecommitdiff
path: root/src/torrent.h
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-07-10 13:21:18 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-07-10 13:21:18 +0000
commit4160d44ddc9605b49eb294f6371a6208b509f9f0 (patch)
tree2fdd0390a569bb211b5890ad10bb813917840d16 /src/torrent.h
parent9c8468598ace9ccdfeeb497210123da00ca8a803 (diff)
issue 51 - add a category for active torrents
Diffstat (limited to 'src/torrent.h')
-rw-r--r--src/torrent.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/torrent.h b/src/torrent.h
index 039eaab..c5e2e10 100644
--- a/src/torrent.h
+++ b/src/torrent.h
@@ -30,8 +30,9 @@
#define TORRENT_FLAG_WAITING_CHECK (1 << 5) /* 0x16 */
#define TORRENT_FLAG_DOWNLOADING (1 << 6) /* 0x32 */
#define TORRENT_FLAG_PAUSED (1 << 7) /* 0x64 */
-#define FILTER_FLAG_TRACKER (1 << 8) /* 0x128 */
-#define FILTER_FLAG_DIR (1 << 9) /* 0x256 */
+#define TORRENT_FLAG_ACTIVE (1 << 8) /* 0x128 */
+#define FILTER_FLAG_TRACKER (1 << 9) /* 0x256 */
+#define FILTER_FLAG_DIR (1 << 10) /* 0x512 */
gint64 torrent_get_size(JsonObject * t);
const gchar *torrent_get_name(JsonObject * t);