diff options
| author | Marq Schneider <queueRAM@gmail.com> | 2012-05-06 22:54:39 -0500 |
|---|---|---|
| committer | Marq Schneider <queueRAM@gmail.com> | 2012-05-06 22:54:39 -0500 |
| commit | 2fd1f7c34e9ee85d5b995dc165fe8531fcb0ad31 (patch) | |
| tree | 9ade107538be478fad7b53cc35bb4fe464d3a04e /misc/ipcdefs.h | |
| parent | b0b8a2faec6609582e61e78cd8242e866fb31019 (diff) | |
| download | btpd-2fd1f7c34e9ee85d5b995dc165fe8531fcb0ad31.tar.gz btpd-2fd1f7c34e9ee85d5b995dc165fe8531fcb0ad31.zip | |
Add optional label to be associated with torrent.
If none given, use announce URL as label. Torrents added with previous versions of btpd will show up as "bad torrent entry" Closes GH-26
Diffstat (limited to 'misc/ipcdefs.h')
| -rw-r--r-- | misc/ipcdefs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/ipcdefs.h b/misc/ipcdefs.h index fa06949..573c007 100644 --- a/misc/ipcdefs.h +++ b/misc/ipcdefs.h @@ -41,7 +41,8 @@ TVDEF(STATE, TSTATE, "state") TVDEF(TOTDWN, NUM, "total_down") TVDEF(TOTUP, NUM, "total_up") TVDEF(TRERR, NUM, "tr_errors") -TVDEF(TRGOOD, NUM, "tr_good") +TVDEF(TRGOOD, NUM, "tr_good") +TVDEF(LABEL, STR, "label") #ifdef __IPCTV #undef __IPCTV #undef TVDEF |