pub unsafe extern "C" fn EN_getnodeindex(
ph: EN_Project,
id: *const c_char,
out_index: *mut c_int,
) -> c_intExpand description
@brief Gets the index of a node given its ID name. @param ph an EPANET project handle. @param id a node ID name. @param[out] out_index the node’s index (starting from 1). @return an error code