Function gnunet_sys::GNUNET_TRANSPORT_address_to_string[][src]

pub unsafe extern "C" fn GNUNET_TRANSPORT_address_to_string(
    cfg: *const GNUNET_CONFIGURATION_Handle,
    address: *const GNUNET_HELLO_Address,
    numeric: c_int,
    timeout: GNUNET_TIME_Relative,
    aluc: GNUNET_TRANSPORT_AddressToStringCallback,
    aluc_cls: *mut c_void
) -> *mut GNUNET_TRANSPORT_AddressToStringContext

Convert a binary address into a human readable address.

@param cfg configuration to use @param address address to convert (binary format) @param numeric should (IP) addresses be displayed in numeric form (otherwise do reverse DNS lookup) @param timeout how long is the lookup allowed to take at most @param aluc function to call with the results @param aluc_cls closure for @a aluc @return handle to cancel the operation, NULL on error