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__ */