Function rmw_network_flow_endpoint_array_check_zero
Defined in File network_flow_endpoint_array.h
Function Documentation
-
rmw_ret_t rmw_network_flow_endpoint_array_check_zero(const rmw_network_flow_endpoint_array_t *network_flow_endpoint_array)
Check if network_flow_endpoint_array instance is zero-initialized.
Remark
RMW error state is set on failure
- Parameters:
network_flow_endpoint_array – [in] arrary to be checked
- Returns:
RMW_RET_OK
if array is zero-initialized, or- Returns:
RMW_RET_INVALID_ARGUMENT
ifnetwork_flow_endpoint_array
is NULL, or- Returns:
RMW_RET_ERROR
ifnetwork_flow_endpoint_array
is not zero-initialized.