diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-03-09 23:07:27 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-03-09 23:07:27 +0900 |
| commit | 7338a2503547ae1310d018d0fc2903fb85b309ea (patch) | |
| tree | c7111eb641f6bf1b661c03270a8f4407d2fada21 /src/error_code.h | |
| parent | d541b350d21cd7747479f21b7c4b6d363248a450 (diff) | |
Added initial JSON-RPC support.
JSON-RPC is enabled using --enable-xml-rpc. We are implementing
JSON-RPC based on JSON-RPC 2.0 draft spec.
Diffstat (limited to 'src/error_code.h')
| -rw-r--r-- | src/error_code.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/error_code.h b/src/error_code.h index 18abc6f0..a721a3cc 100644 --- a/src/error_code.h +++ b/src/error_code.h @@ -72,7 +72,8 @@ enum Value { BITTORRENT_PARSE_ERROR = 26, MAGNET_PARSE_ERROR = 27, OPTION_ERROR = 28, - HTTP_SERVICE_UNAVAILABLE = 29 + HTTP_SERVICE_UNAVAILABLE = 29, + JSON_PARSE_ERROR = 30 }; } // namespace error_code |
