libnvme_transport_handle_get_mi_ep(9) libnvme API manual libnvme_transport_handle_get_mi_ep(9)

libnvme_transport_handle_get_mi_ep - get the MI endpoint from a transport handle

struct libnvme_mi_ep * libnvme_transport_handle_get_mi_ep (struct libnvme_transport_handle *hdl );

transport handle

Retrieve the MI endpoint associated with this transport handle. Only valid for MI-type transport handles (check with libnvme_transport_handle_is_mi first).

the MI endpoint, or NULL if the handle is not an MI handle.

libnvme_transport_handle_get_mi_ep September 2026