Function gnunet_sys::GNUNET_CONTAINER_multihashmap32_iterator_create[][src]

pub unsafe extern "C" fn GNUNET_CONTAINER_multihashmap32_iterator_create(
    map: *const GNUNET_CONTAINER_MultiHashMap32
) -> *mut GNUNET_CONTAINER_MultiHashMap32Iterator

Create an iterator for a 32-bit multihashmap. The iterator can be used to retrieve all the elements in the multihashmap one by one, without having to handle all elements at once (in contrast to #GNUNET_CONTAINER_multihashmap32_iterate). Note that the iterator can not be used anymore if elements have been removed from ‘map’ after the creation of the iterator, or ‘map’ has been destroyed. Adding elements to ‘map’ may result in skipped or repeated elements.

@param map the map to create an iterator for @return an iterator over the given multihashmap map