Function gnunet_sys::GNUNET_HELLO_address_to_prefix[][src]

pub unsafe extern "C" fn GNUNET_HELLO_address_to_prefix(
    address: *const c_char
) -> *mut c_char

Given an address as a string, extract the prefix that identifies the communicator offering transmissions to that address.

@param address a peer’s address @return NULL if the address is mal-formed, otherwise the prefix