Function uct_query_components

Source
pub unsafe extern "C" fn uct_query_components(
    components_p: *mut *mut uct_component_h,
    num_components_p: *mut c_uint,
) -> ucs_status_t
Expand description

@ingroup UCT_RESOURCE @brief Query for list of components.

Obtain the list of transport components available on the current system.

@param [out] components_p Filled with a pointer to an array of component handles. @param [out] num_components_p Filled with the number of elements in the array.

@return UCS_OK if successful, or UCS_ERR_NO_MEMORY if failed to allocate the array of component handles.