libnvmf_context_set_hostnqn(9)

NAME
libnvmf_context_set_hostnqn - Set host NQN and host ID for context

SYNOPSIS
int libnvmf_context_set_hostnqn (struct libnvmf_context *fctx , const char *hostnqn , const char *hostid );

ARGUMENTS

fctx
    Fabrics context

hostnqn
    Host NQN

hostid
    Host identifier

DESCRIPTION
Sets the host NQN and host ID for the context.

RETURN
0 on success, negative error code otherwise.