Function gnunet_sys::GNUNET_CONTAINER_heap_insert[][src]

pub unsafe extern "C" fn GNUNET_CONTAINER_heap_insert(
    heap: *mut GNUNET_CONTAINER_Heap,
    element: *mut c_void,
    cost: GNUNET_CONTAINER_HeapCostType
) -> *mut GNUNET_CONTAINER_HeapNode

@ingroup heap Inserts a new element into the heap.

@param heap heap to modify @param element element to insert @param cost cost for the element @return node for the new element