libnvmf_generate_hostnqn_from_hostid-libnvme32
Generate a host nqn from host identifier
Usage
char * libnvmf_generate_hostnqn_from_hostid (struct libnvme_global_ctx *ctx , char *hostid );
Arguments
ctx
|
struct libnvme_global_ctx object |
|---|---|
hostid
|
Host identifier |
Overview
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.