Function gnunet_sys::GNUNET_TRANSPORT_core_get_mq[][src]

pub unsafe extern "C" fn GNUNET_TRANSPORT_core_get_mq(
    handle: *mut GNUNET_TRANSPORT_CoreHandle,
    peer: *const GNUNET_PeerIdentity
) -> *mut GNUNET_MQ_Handle

Checks if a given peer is connected to us and get the message queue.

@param handle connection to transport service @param peer the peer to check @return NULL if disconnected, otherwise message queue for @a peer