libnvmf_uri_parse(9)

NAME
libnvmf_uri_parse - Parse the URI string

SYNOPSIS
int libnvmf_uri_parse (const char *str , struct libnvmf_uri **uri );

ARGUMENTS

str URI string

uri URI object to return

DESCRIPTION
Parse the URI string as defined in the NVM Express Boot Specification. Supported URI elements looks as follows: nvme+tcp://userhost:port/subsys_nqn/nid?query=val#fragment

RETURN
0 on success, negative error code otherwise.