Skip to main content

pamoja_gateway_uplink_set_stat

Function pamoja_gateway_uplink_set_stat 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_gateway_uplink_set_stat( uplink: *mut PamojaGatewayUplink, status: PamojaGatewayStat, ) -> PamojaStatus
Expand description

Sets the gateway’s status report on an uplink.

§Arguments

  • uplink - the uplink being built.
  • status - the report.

§Returns

PamojaStatus::Ok, or PamojaStatus::InvalidArgument for a null handle.

§Safety

uplink must be a live handle from pamoja_gateway_uplink_new.