nvmf: move internal APIs out of nvmf.h

Change-Id: I94425fc4e394bb5033237ddc9002cd464c3f621f
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
Daniel Verkamp 2016-06-08 13:47:54 -07:00 committed by Benjamin Walker
parent 1bb4fac463
commit 90b6ad1f36
2 changed files with 7 additions and 10 deletions

View File

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

View File

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