Type Definition gnunet_sys::GNUNET_HELLO_AddressIterator[][src]

type GNUNET_HELLO_AddressIterator = Option<unsafe extern "C" fn(cls: *mut c_void, address: *const GNUNET_HELLO_Address, expiration: GNUNET_TIME_Absolute) -> c_int>;

Iterator callback to go over all addresses.

@param cls closure @param address the address @param expiration expiration time @return #GNUNET_OK to keep the address, #GNUNET_NO to delete it from the HELLO #GNUNET_SYSERR to stop iterating (but keep current address)