static void
addrinfo_cb (void *cls,
const struct GNUNET_HELLO_Address *address,
- unsigned int address_active,
+ int address_active,
struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out,
struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in,
const struct GNUNET_ATS_Information *ats,
}
static void
-run (void *cls,
+run (void *cls,
const struct GNUNET_CONFIGURATION_Handle *mycfg,
struct GNUNET_TESTING_Peer *peer)
{
cfg = (struct GNUNET_CONFIGURATION_Handle *) mycfg;
die_task = GNUNET_SCHEDULER_add_delayed (TIMEOUT, &end_badly, NULL);
- ph = GNUNET_ATS_performance_init (cfg, NULL, NULL, addrinfo_cb, NULL);
+ ph = GNUNET_ATS_performance_init (cfg, addrinfo_cb, NULL);
GNUNET_assert (NULL != ph);
sh = GNUNET_ATS_scheduling_init (cfg, &ats_suggest_cb, NULL);