libnvme_transport_handle_get_mi_ep(9)

NAME
libnvme_transport_handle_get_mi_ep - get the MI endpoint from a transport handle

SYNOPSIS
struct libnvme_mi_ep * libnvme_transport_handle_get_mi_ep (struct libnvme_transport_handle *hdl );

ARGUMENTS

hdl transport handle

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

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