Type Definition gnunet_sys::GNUNET_CORE_MonitorCallback [−][src]
type GNUNET_CORE_MonitorCallback = Option<unsafe extern "C" fn(cls: *mut c_void, pid: *const GNUNET_PeerIdentity, state: GNUNET_CORE_KxState, timeout: GNUNET_TIME_Absolute)>;
Function called by the monitor callback whenever a peer’s connection status changes.
@param cls closure @param pid identity of the peer this update is about @param state current key exchange state of the peer @param timeout when does the current state expire