nvmf_get_discovery_log(9)

NAME
nvmf_get_discovery_log - Return the discovery log page

SYNOPSIS
int nvmf_get_discovery_log (nvme_ctrl_t c , struct nvmf_discovery_log **logp , int max_retries );

ARGUMENTS

c   Discover controller to use

logp
    Pointer to the log page to be returned

max_retries
    maximum number of log page entries to be returned

RETURN
0 on success; on failure -1 is returned and errno is set