summaryrefslogtreecommitdiff
path: root/src/torrent.h
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-02-18 00:49:08 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-02-18 00:49:08 +0000
commit8aacf43b3b4f21247a63b8301c952c6a8c98585e (patch)
treed2dc275b7d2672390ab9eeb1adffaf5953a4981d /src/torrent.h
parentbfff941cb7fdb428de57971831e39e3cf660112b (diff)
adding trackers now seems to work. change all tabs to whitespace.
Diffstat (limited to 'src/torrent.h')
-rw-r--r--src/torrent.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/torrent.h b/src/torrent.h
index 093759f..e76fccc 100644
--- a/src/torrent.h
+++ b/src/torrent.h
@@ -22,14 +22,14 @@
#include <json-glib/json-glib.h>
-#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_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 */
gint64 torrent_get_size(JsonObject * t);
const gchar *torrent_get_name(JsonObject * t);
@@ -51,7 +51,7 @@ JsonArray *torrent_get_wanted(JsonObject * t);
JsonArray *torrent_get_priorities(JsonObject * t);
gint64 torrent_get_id(JsonObject * t);
gint64 tracker_get_tier(JsonObject * t);
-gint64 tracker_get_id(JsonObject *t);
+gint64 tracker_get_id(JsonObject * t);
const gchar *tracker_get_announce(JsonObject * t);
const gchar *tracker_get_scrape(JsonObject * t);
JsonArray *torrent_get_files(JsonObject * args);
@@ -70,4 +70,4 @@ gint64 torrent_get_peer_limit(JsonObject * t);
JsonArray *get_torrents(JsonObject * response);
-#endif /* TORRENT_H_ */
+#endif /* TORRENT_H_ */