Reference

libnvmf_config_get_hostid-libnvme3(2)

the top-level [Host] host ID.

NAME

libnvmf_config_get_hostid - the top-level [Host] host ID.

SYNOPSIS

const char * libnvmf_config_get_hostid (const struct libnvmf_config *config );

ARGUMENTS

config

the resolved configuration

DESCRIPTION

See libnvmf_config_get_hostnqn.

RETURN

borrowed string, valid while config is alive, or NULL when the top-level file names no host ID (the caller falls back to the system identity in /etc/nvme/hostid).