Skip to main content

pamoja_router_forget

Function pamoja_router_forget 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_router_forget( router: *mut PamojaRouter, dst: u32, )
Expand description

Forgets the route to a node, for example after it stops answering.

§Arguments

  • router - the routing table.
  • dst - the node to forget.

§Safety

router must be a live handle from pamoja_router_new, or null.