libnvmf_generate_hostnqn_from_hostid(9)

NAME
libnvmf_generate_hostnqn_from_hostid - Generate a host nqn from host identifier

SYNOPSIS
char * libnvmf_generate_hostnqn_from_hostid (struct libnvme_global_ctx *ctx , char *hostid );

ARGUMENTS

ctx struct libnvme_global_ctx object

hostid
    Host identifier

DESCRIPTION
If hostid is NULL, the function generates it based on the machine identifier.

RETURN
On success, an NVMe Qualified Name for host identification. This name is based on the given host identifier. On failure, NULL.