numam-spdk/test/rpc_client
Pawel Wodkowski 8397285b50 jsonrpc_client: make ID and method optional when starting request
In JSON RPC the ID is optional. Method is mandatory but user might want
to produce the name later or by using
spdk_json_write_named_string_fmt(). This patch also changes the argument
order.

Change-Id: Ifbd35b8c93e684d15731c4ba1d18bf68d1e8a068
Signed-off-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>
Reviewed-on: https://review.gerrithub.io/429254
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2018-10-18 16:07:37 +00:00
..
.gitignore jsonrpc-client: add new C client library 2018-10-11 20:07:44 +00:00
Makefile jsonrpc-client: add new C client library 2018-10-11 20:07:44 +00:00
rpc_client_test.c jsonrpc_client: make ID and method optional when starting request 2018-10-18 16:07:37 +00:00
rpc_client.sh jsonrpc-client: add new C client library 2018-10-11 20:07:44 +00:00