From 90b6ad1f361e9258726f291400a0c2d4cad74f1d Mon Sep 17 00:00:00 2001 From: Daniel Verkamp Date: Wed, 8 Jun 2016 13:47:54 -0700 Subject: [PATCH] nvmf: move internal APIs out of nvmf.h Change-Id: I94425fc4e394bb5033237ddc9002cd464c3f621f Signed-off-by: Daniel Verkamp --- lib/nvmf/nvmf.h | 10 ---------- lib/nvmf/nvmf_internal.h | 7 +++++++ 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/lib/nvmf/nvmf.h b/lib/nvmf/nvmf.h index 86b225686d..fc03a67a95 100644 --- a/lib/nvmf/nvmf.h +++ b/lib/nvmf/nvmf.h @@ -42,17 +42,7 @@ * */ -int -nvmf_tgt_init(char *nodebase, int max_in_capsule_data, int max_sessions, - int max_queue_depth, int max_conn_per_sess, int max_recv_seg_len, int listen_port); - int spdk_nvmf_check_pools(void); -int -nvmf_initialize(void); - -void -nvmf_shutdown(void); - #endif /* __NVMF_H__ */ diff --git a/lib/nvmf/nvmf_internal.h b/lib/nvmf/nvmf_internal.h index 5d1885e41c..01f919e4ed 100644 --- a/lib/nvmf/nvmf_internal.h +++ b/lib/nvmf/nvmf_internal.h @@ -179,6 +179,13 @@ struct spdk_nvmf_globals { void nvmf_complete_cmd(void *rsp, const struct spdk_nvme_cpl *cmp); + +int nvmf_tgt_init(char *nodebase, int max_in_capsule_data, int max_sessions, int max_queue_depth, + int max_conn_per_sess, int max_recv_seg_len, int listen_port); + +int nvmf_initialize(void); +void nvmf_shutdown(void); + extern struct spdk_nvmf_globals g_nvmf_tgt; #endif /* __NVMF_INTERNAL_H__ */