Type Definition gnunet_sys::GNUNET_CONTAINER_HeapIterator [−][src]
type GNUNET_CONTAINER_HeapIterator = Option<unsafe extern "C" fn(cls: *mut c_void, node: *mut GNUNET_CONTAINER_HeapNode, element: *mut c_void, cost: GNUNET_CONTAINER_HeapCostType) -> c_int>;
@ingroup heap Iterator for heap
@param cls closure @param node internal node of the heap @param element value stored at the node @param cost cost associated with the node @return #GNUNET_YES if we should continue to iterate, #GNUNET_NO if not.