Function gnunet_sys::GNUNET_TUN_service_name_to_hash[][src]

pub unsafe extern "C" fn GNUNET_TUN_service_name_to_hash(
    service_name: *const c_char,
    hc: *mut GNUNET_HashCode
)

Hash the service name of a hosted service to the hash code that is used to identify the service on the network.

@param service_name a string @param[out] hc corresponding hash