Skip to main content

pamoja_gateway_station_message_add_join_range

Function pamoja_gateway_station_message_add_join_range 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_gateway_station_message_add_join_range( message: *mut PamojaGatewayStationMessage, range: *const PamojaGatewayStationJoinRange, ) -> PamojaStatus
Expand description

Adds a range of join identifiers whose join requests a configuration forwards.

§Arguments

  • message - the configuration.
  • range - the range, both ends included.

§Returns

PamojaStatus::Ok once added, or PamojaStatus::InvalidArgument for a message that is not a configuration.

§Safety

message must be a live handle, and range must point to a readable range.