Function gnunet_sys::GNUNET_ATS_performance_give_feedback[][src]

pub unsafe extern "C" fn GNUNET_ATS_performance_give_feedback(
    ph: *mut GNUNET_ATS_PerformanceHandle,
    peer: *const GNUNET_PeerIdentity,
    scope: GNUNET_TIME_Relative,
     ...
)

Application feedback on how good preference requirements are fulfilled for the preferences included in the given time scope [now - scope .. now]

An application notifies ATS if (and only if) it has feedback information for specific properties. This values are valid until the feedback scores are updated by the application.

If the application has no feedback for this preference kind the application will not explicitly call for this property and will not include it in this function call.

@param ph performance handle @param scope the time interval this valid for: [now - scope .. now] @param peer identifies the peer @param … #GNUNET_ATS_PREFERENCE_END-terminated specification of the desired changes