OSDN Git Service

JsonRPCの定数値、関数の整備
[mimic/MiMicSDK.git] / lib / src / http / json / NyLPC_cJsonRpcParser.h
index 875c74b..97cb6b4 100644 (file)
@@ -6,6 +6,15 @@ extern "C" {
 \r
 #include "NyLPC_stdlib.h"\r
 \r
+\r
+#define NyLPC_TJsonRpcErrorCode_PARSE_ERROR                    (-32700)\r
+#define NyLPC_TJsonRpcErrorCode_INVALID_REQUEST                (-32600)\r
+#define NyLPC_TJsonRpcErrorCode_METHOD_NOT_FOUND       (-32601)\r
+#define NyLPC_TJsonRpcErrorCode_INVALID_PARAMS         (-32602)\r
+#define NyLPC_TJsonRpcErrorCode_INTERNAL_ERROR         (-32603)\r
+#define NyLPC_TJsonRpcErrorCode_SERVER_ERROR_BASE      (-32000)\r
+\r
+\r
 /** 型定義*/\r
 union NyLPC_TJsonRpcParserResult;\r
 \r