libnvmf_uri_parse-libnvme32
Parse the uri string
Usage
int libnvmf_uri_parse (const char *str , struct libnvmf_uri **uri );
Arguments
str
|
URI string |
|---|---|
uri
|
URI object to return |
Overview
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.