diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-03-26 15:02:37 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-03-26 15:02:37 +0000 |
commit | fec18deaff1382f2fc7598cb4a5c87865447ddda (patch) | |
tree | 7f3319f352f1b53efde2c4f66eb09297237f9339 /src/ats-tool | |
parent | 916a78761f48b4fabf4fd7d3d93f12cb679f4bd6 (diff) | |
download | gnunet-fec18deaff1382f2fc7598cb4a5c87865447ddda.tar.gz gnunet-fec18deaff1382f2fc7598cb4a5c87865447ddda.zip |
api change
Diffstat (limited to 'src/ats-tool')
-rw-r--r-- | src/ats-tool/gnunet-ats.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ats-tool/gnunet-ats.c b/src/ats-tool/gnunet-ats.c index 68e765ca9..2e61247bb 100644 --- a/src/ats-tool/gnunet-ats.c +++ b/src/ats-tool/gnunet-ats.c | |||
@@ -222,7 +222,7 @@ void transport_addr_to_str_cb (void *cls, const char *address) | |||
222 | 222 | ||
223 | void ats_perf_cb (void *cls, | 223 | void ats_perf_cb (void *cls, |
224 | const struct GNUNET_HELLO_Address *address, | 224 | const struct GNUNET_HELLO_Address *address, |
225 | unsigned int active, | 225 | int active, |
226 | struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out, | 226 | struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out, |
227 | struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in, | 227 | struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in, |
228 | const struct GNUNET_ATS_Information *ats, | 228 | const struct GNUNET_ATS_Information *ats, |
@@ -367,7 +367,7 @@ void testservice_ats (void *cls, | |||
367 | } | 367 | } |
368 | if (op_list_all) | 368 | if (op_list_all) |
369 | { | 369 | { |
370 | ph = GNUNET_ATS_performance_init (cfg, NULL, NULL, NULL, NULL); | 370 | ph = GNUNET_ATS_performance_init (cfg, NULL, NULL); |
371 | if (NULL == ph) | 371 | if (NULL == ph) |
372 | { | 372 | { |
373 | fprintf (stderr, _("Cannot connect to ATS service, exiting...\n")); | 373 | fprintf (stderr, _("Cannot connect to ATS service, exiting...\n")); |
@@ -387,7 +387,7 @@ void testservice_ats (void *cls, | |||
387 | } | 387 | } |
388 | else if (op_list_used) | 388 | else if (op_list_used) |
389 | { | 389 | { |
390 | ph = GNUNET_ATS_performance_init (cfg, NULL, NULL, NULL, NULL); | 390 | ph = GNUNET_ATS_performance_init (cfg, NULL, NULL); |
391 | if (NULL == ph) | 391 | if (NULL == ph) |
392 | fprintf (stderr, _("Cannot connect to ATS service, exiting...\n")); | 392 | fprintf (stderr, _("Cannot connect to ATS service, exiting...\n")); |
393 | 393 | ||
@@ -404,7 +404,7 @@ void testservice_ats (void *cls, | |||
404 | } | 404 | } |
405 | else if (op_monitor) | 405 | else if (op_monitor) |
406 | { | 406 | { |
407 | ph = GNUNET_ATS_performance_init (cfg, NULL, NULL, ats_perf_cb, NULL); | 407 | ph = GNUNET_ATS_performance_init (cfg, ats_perf_cb, NULL); |
408 | if (NULL == ph) | 408 | if (NULL == ph) |
409 | fprintf (stderr, _("Cannot connect to ATS service, exiting...\n")); | 409 | fprintf (stderr, _("Cannot connect to ATS service, exiting...\n")); |
410 | end_task = GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL, &end, NULL); | 410 | end_task = GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL, &end, NULL); |
@@ -429,7 +429,7 @@ void testservice_ats (void *cls, | |||
429 | } | 429 | } |
430 | 430 | ||
431 | /* set */ | 431 | /* set */ |
432 | ph = GNUNET_ATS_performance_init (cfg, NULL, NULL, NULL, NULL); | 432 | ph = GNUNET_ATS_performance_init (cfg, NULL, NULL); |
433 | if (NULL == ph) | 433 | if (NULL == ph) |
434 | fprintf (stderr, _("Cannot connect to ATS service, exiting...\n")); | 434 | fprintf (stderr, _("Cannot connect to ATS service, exiting...\n")); |
435 | 435 | ||