#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_gateway_station_router_refused(
router: *const u8,
error: *const u8,
error_len: usize,
out_text: *mut *mut PamojaBuffer,
) -> PamojaStatusExpand description
Writes the answer that refuses a station, saying why.
§Arguments
router- the station being refused, eight bytes.error- what is wrong, in words the operator can act on, UTF-8.error_len- how many byteserrorholds.out_text- receives the answer, which the caller releases withpamoja_buffer_free.
§Returns
PamojaStatus::Ok once written.
§Safety
router must point to eight readable bytes, error to error_len readable bytes, and
out_text to writable storage.