Function gnunet_sys::GNUNET_ATS_connectivity_suggest[][src]

pub unsafe extern "C" fn GNUNET_ATS_connectivity_suggest(
    ch: *mut GNUNET_ATS_ConnectivityHandle,
    peer: *const GNUNET_PeerIdentity,
    strength: u32
) -> *mut GNUNET_ATS_ConnectivitySuggestHandle

We would like to establish a new connection with a peer. ATS should suggest a good address to begin with.

@param ch handle @param peer identity of the peer we need an address for @param strength how urgent is the need for such a suggestion @return suggestion handle, NULL if request is already pending