#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_gateway_station_router_identities(
text: *const u8,
text_len: usize,
out_ids: *mut PamojaGatewayStationRouterIds,
) -> PamojaStatusExpand description
Reads the identities a discovery answer names: the station, and the server endpoint that carries its session.
§Arguments
text- the answer text.text_len- how many bytestextholds.out_ids- receives the identities.
§Returns
PamojaStatus::Ok once read, or PamojaStatus::Codec when the text is not JSON.
§Safety
text must point to text_len readable bytes, and out_ids to writable storage.