Function gnunet_sys::GNUNET_CONTAINER_heap_update_cost[][src]

pub unsafe extern "C" fn GNUNET_CONTAINER_heap_update_cost(
    node: *mut GNUNET_CONTAINER_HeapNode,
    new_cost: GNUNET_CONTAINER_HeapCostType
)

@ingroup heap Updates the cost of any node in the tree

@param node node for which the cost is to be changed @param new_cost new cost for the node