summaryrefslogtreecommitdiff
path: root/src/torrent.h
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-08-27 17:15:31 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-08-27 17:15:31 +0000
commitbd758ee4fc423b9ca152a01f897609daa656c938 (patch)
tree0378306b5b007f38f0c4f6c0d868215f70fd70d6 /src/torrent.h
parentb8a1599a2ab9eafd496ba23179dda97d6e83e917 (diff)
Profile support! Please test and report bugs, as the config system is totally rewritten and may not be perfect. No more GConf (trying to implement profiles with this was UGLY), settings now (for most) live in JSON at $HOME/.config/transmission-remote-gtk/config.json. Hopefully windows support will be easier without GConf.
Diffstat (limited to 'src/torrent.h')
-rw-r--r--src/torrent.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/torrent.h b/src/torrent.h
index c5e2e10..85d9632 100644
--- a/src/torrent.h
+++ b/src/torrent.h
@@ -24,15 +24,15 @@
#define TORRENT_FLAG_ERROR (1 << 0) /* 0x01 */
#define TORRENT_FLAG_COMPLETE (1 << 1) /* 0x02 */
-#define TORRENT_FLAG_INCOMPLETE (1 << 2) /* 0x02 */
-#define TORRENT_FLAG_SEEDING (1 << 3) /* 0x04 */
-#define TORRENT_FLAG_CHECKING (1 << 4) /* 0x08 */
-#define TORRENT_FLAG_WAITING_CHECK (1 << 5) /* 0x16 */
-#define TORRENT_FLAG_DOWNLOADING (1 << 6) /* 0x32 */
-#define TORRENT_FLAG_PAUSED (1 << 7) /* 0x64 */
-#define TORRENT_FLAG_ACTIVE (1 << 8) /* 0x128 */
-#define FILTER_FLAG_TRACKER (1 << 9) /* 0x256 */
-#define FILTER_FLAG_DIR (1 << 10) /* 0x512 */
+#define TORRENT_FLAG_INCOMPLETE (1 << 2) /* 0x04 */
+#define TORRENT_FLAG_SEEDING (1 << 3) /* 0x08 */
+#define TORRENT_FLAG_CHECKING (1 << 4) /* 0x16 */
+#define TORRENT_FLAG_WAITING_CHECK (1 << 5) /* 0x32 */
+#define TORRENT_FLAG_DOWNLOADING (1 << 6) /* 0x64 */
+#define TORRENT_FLAG_PAUSED (1 << 7) /* 0x128 */
+#define TORRENT_FLAG_ACTIVE (1 << 8) /* 0x256 */
+#define FILTER_FLAG_TRACKER (1 << 9) /* 0x512 */
+#define FILTER_FLAG_DIR (1 << 10) /* 0x1024 */
gint64 torrent_get_size(JsonObject * t);
const gchar *torrent_get_name(JsonObject * t);