Function gnunet_sys::GNUNET_ATS_performance_init [−][src]
pub unsafe extern "C" fn GNUNET_ATS_performance_init(
cfg: *const GNUNET_CONFIGURATION_Handle,
addr_info_cb: GNUNET_ATS_AddressInformationCallback,
addr_info_cb_cls: *mut c_void
) -> *mut GNUNET_ATS_PerformanceHandle
Get handle to access performance API of the ATS subsystem.
@param cfg configuration to use @param addr_info_cb callback called when performance characteristics for an address change @param addr_info_cb_cls closure for @a addr_info_cb @return ats performance context