Skip to main content

pamoja_gateway_packet_stat

Function pamoja_gateway_packet_stat 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_gateway_packet_stat( packet: *const PamojaGatewayPacket, out_stat: *mut PamojaGatewayStat, ) -> bool
Expand description

Reads the gateway’s status report, when a PUSH_DATA carries one.

§Arguments

  • packet - the packet.
  • out_stat - receives the report.

§Returns

true when the datagram carried a report.

§Safety

packet must be a live handle or null, and out_stat must be writable or null.