Skip to main content

pamoja_gateway_packet_txpk

Function pamoja_gateway_packet_txpk 

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

Reads what a PULL_RESP asks the gateway to transmit.

§Arguments

  • packet - the packet.
  • out_txpk - receives the request.

§Returns

true when the packet is a PULL_RESP.

§Safety

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