summaryrefslogtreecommitdiff
path: root/src/protocol-constants.h
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-09-11 10:27:06 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-09-11 10:27:06 +0000
commitbe569c0953fcd777ae00ae41feb9c673e4df2f23 (patch)
treede0c822ae4ca82e5a717a04a11271f6d544c6507 /src/protocol-constants.h
parent547bcd3c5ec89e30f20723b46c8eab1a71e0cf44 (diff)
use thread local storage to keep one curl client per thread (by default 3) in the thread pool
Diffstat (limited to 'src/protocol-constants.h')
-rw-r--r--src/protocol-constants.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/protocol-constants.h b/src/protocol-constants.h
index 01fd99e..ccc91c4 100644
--- a/src/protocol-constants.h
+++ b/src/protocol-constants.h
@@ -25,6 +25,11 @@
#define PARAM_METHOD "method"
#define FIELD_ID "id"
+/* top level */
+
+#define FIELD_RESULT "result"
+#define FIELD_SUCCESS "success"
+
/* torrents */
#define FIELD_RECENTLY_ACTIVE "recently-active"