Function gnunet_sys::GNUNET_HELLO_iterate_addresses[][src]

pub unsafe extern "C" fn GNUNET_HELLO_iterate_addresses(
    msg: *const GNUNET_HELLO_Message,
    return_modified: c_int,
    it: GNUNET_HELLO_AddressIterator,
    it_cls: *mut c_void
) -> *mut GNUNET_HELLO_Message

Iterate over all of the addresses in the HELLO.

@param msg HELLO to iterate over; client does not need to have verified that msg is well-formed (beyond starting with a GNUNET_MessageHeader of the right type). @param return_modified if a modified copy should be returned, otherwise NULL will be returned @param it iterator to call on each address @param it_cls closure for @a it @return the modified HELLO or NULL