Skip to main content

pamoja_gateway_station_message_options

Function pamoja_gateway_station_message_options 

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

Returns the frame options a data frame carries.

§Arguments

  • message - the message.
  • out_options - receives the bytes, which the caller releases with pamoja_buffer_free.

§Returns

PamojaStatus::Ok once written, with an empty buffer for a kind carrying none.

§Safety

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