summaryrefslogtreecommitdiff
path: root/src/protocol-constants.h
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-12-11 15:08:03 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-12-11 15:08:03 +0000
commit763abd8c8fc32b29c5f989cd0d4cab1b6e472997 (patch)
tree4ff54223e8526dbb20e9fe87e9c21d9a3b80975c /src/protocol-constants.h
parent0d08a471f9ebfdfadded6c92abc700c706475644 (diff)
oops, no tabs. (indent -kr -nut)
Diffstat (limited to 'src/protocol-constants.h')
-rw-r--r--src/protocol-constants.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/protocol-constants.h b/src/protocol-constants.h
index 3eb9d69..04dcd2c 100644
--- a/src/protocol-constants.h
+++ b/src/protocol-constants.h
@@ -33,7 +33,7 @@
/* torrents */
#define FIELD_RECENTLY_ACTIVE "recently-active"
-#define FIELD_TORRENTS "torrents" /* parent node */
+#define FIELD_TORRENTS "torrents" /* parent node */
#define FIELD_REMOVED "removed"
#define FIELD_ANNOUNCE_URL "announceUrl"
#define FIELD_LEFT_UNTIL_DONE "leftUntilDone"
@@ -172,18 +172,18 @@ typedef enum {
} trg_old_status;
typedef enum {
- TR_STATUS_STOPPED = 0, /* Torrent is stopped */
- TR_STATUS_CHECK_WAIT = 1, /* Queued to check files */
- TR_STATUS_CHECK = 2, /* Checking files */
- TR_STATUS_DOWNLOAD_WAIT = 3, /* Queued to download */
- TR_STATUS_DOWNLOAD = 4, /* Downloading */
- TR_STATUS_SEED_WAIT = 5, /* Queued to seed */
- TR_STATUS_SEED = 6 /* Seeding */
+ TR_STATUS_STOPPED = 0, /* Torrent is stopped */
+ TR_STATUS_CHECK_WAIT = 1, /* Queued to check files */
+ TR_STATUS_CHECK = 2, /* Checking files */
+ TR_STATUS_DOWNLOAD_WAIT = 3, /* Queued to download */
+ TR_STATUS_DOWNLOAD = 4, /* Downloading */
+ TR_STATUS_SEED_WAIT = 5, /* Queued to seed */
+ TR_STATUS_SEED = 6 /* Seeding */
} tr_torrent_activity;
enum {
TR_PRI_LOW = -1,
- TR_PRI_NORMAL = 0, /* since NORMAL is 0, memset initializes nicely */
+ TR_PRI_NORMAL = 0, /* since NORMAL is 0, memset initializes nicely */
TR_PRI_HIGH = 1
};
@@ -191,4 +191,4 @@ enum {
#define TFILE_BYTES_COMPLETED "bytesCompleted"
#define TFILE_NAME "name"
-#endif /* PROTOCOL_CONSTANTS_H_ */
+#endif /* PROTOCOL_CONSTANTS_H_ */