lib/rpc: add a map file.

Signed-off-by: Seth Howell <seth.howell@intel.com>
Change-Id: I2a81c5d7911d2e0cef2346200ae3f3c8740a4e75
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2295
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
Seth Howell 2020-05-09 16:18:12 -07:00 committed by Jim Harris
parent 9654226cad
commit 91a594ad8b
2 changed files with 18 additions and 0 deletions

View File

@ -41,4 +41,6 @@ SO_SUFFIX := $(SO_VER).$(SO_MINOR)
C_SRCS = rpc.c
LIBNAME = rpc
SPDK_MAP_FILE = $(abspath $(CURDIR)/spdk_rpc.map)
include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk

16
lib/rpc/spdk_rpc.map Normal file
View File

@ -0,0 +1,16 @@
{
global:
# public functions
spdk_rpc_verify_methods;
spdk_rpc_listen;
spdk_rpc_accept;
spdk_rpc_close;
spdk_rpc_register_method;
spdk_rpc_register_alias_deprecated;
spdk_rpc_is_method_allowed;
spdk_rpc_set_state;
spdk_rpc_get_state;
local: *;
};