numam-spdk/lib/event
Jim Harris 296e7fba03 rpc: add spdk_rpc_verify_methods()
This returns true if all registered methods and aliases
are correct.  False means that an error like one of the
following occurred:

- duplicate method with same name
- alias specified for non-existant method
- alias specified for another alias

Also plumb this so that incorrect RPCs cause an SPDK
application to exit.

Note: there are cases where this would have been helpful
during the recent RPC renaming.

Fixes issue #940.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I235a433c9b8c01e82f16288a8d295e96c54e4eb1

Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/472441
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
2019-11-06 15:19:48 +00:00
..
app.c app: simplify app start error handling 2019-10-09 14:29:22 +00:00
json_config.c RPC: rename start_subsystem_init to framework_start_init 2019-09-30 21:13:41 +00:00
Makefile lib/event: move rpc and subsystems dirs to module 2019-08-22 16:29:49 +00:00
reactor.c reactor: allow spdk_reactors_fini() to be called without prior init 2019-10-09 14:29:22 +00:00
rpc.c rpc: add spdk_rpc_verify_methods() 2019-11-06 15:19:48 +00:00
subsystem.c lib/event: remove app.c dependency from subsystem initialization 2019-08-28 15:26:12 +00:00