summaryrefslogtreecommitdiff
path: root/src/protocol-constants.h
diff options
context:
space:
mode:
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"