Commit c096b64f authored by Seth Howell's avatar Seth Howell Committed by Tomasz Zawadzki
Browse files

lib/nbd: add a map file.



Signed-off-by: default avatarSeth Howell <seth.howell@intel.com>
Change-Id: I9514b06e4c214f68f7dfe13fd70e925628ebec1e
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2238


Community-CI: Mellanox Build Bot
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarShuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
parent bbb6368e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -41,4 +41,6 @@ SO_SUFFIX := $(SO_VER).$(SO_MINOR)
LIBNAME = nbd
C_SRCS = nbd.c nbd_rpc.c

SPDK_MAP_FILE = $(abspath $(CURDIR)/spdk_nbd.map)

include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk

lib/nbd/spdk_nbd.map

0 → 100644
+13 −0
Original line number Diff line number Diff line
{
	global:

	# public functions
	spdk_nbd_init;
	spdk_nbd_fini;
	spdk_nbd_start;
	spdk_nbd_stop;
	spdk_nbd_get_path;
	spdk_nbd_write_config_json;

	local: *;
};
+12 −0
Original line number Diff line number Diff line
@@ -62,6 +62,18 @@ function confirm_abi_deps() {
	name = SPDK_LOG_LOG
[suppress_variable]
	name = SPDK_LOG_LVOL
[suppress_variable]
	name = SPDK_LOG_NBD
[suppress_function]
	name = spdk_nbd_disk_find_by_nbd_path
[suppress_function]
	name = spdk_nbd_disk_first
[suppress_function]
	name = spdk_nbd_disk_next
[suppress_function]
	name = spdk_nbd_disk_get_nbd_path
[suppress_function]
	name = spdk_nbd_disk_get_bdev_name
EOF

	for object in "$libdir"/libspdk_*.so; do