Skip to main content

pamoja_gateway_station_message_fields

Function pamoja_gateway_station_message_fields 

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

Reads the fixed fields a message carries, and how many entries each of its lists holds.

§Arguments

  • message - the message.
  • out_fields - receives the fields.

§Returns

PamojaStatus::Ok once read.

§Safety

message must be a live handle, and out_fields must point to writable storage.