From 2fd1f7c34e9ee85d5b995dc165fe8531fcb0ad31 Mon Sep 17 00:00:00 2001 From: Marq Schneider Date: Sun, 6 May 2012 22:54:39 -0500 Subject: 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 --- misc/ipcdefs.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'misc/ipcdefs.h') 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 -- cgit 1.4.1