diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-03-21 14:43:47 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-03-21 14:43:47 +0000 |
commit | 75c121f5ae37d3c7ccd95f4449aea33ccb4200f0 (patch) | |
tree | 3fb440657f99a826cc4f963db55e28cb426ed9d8 /src/core/test_core_quota_compliance.c | |
parent | eb2371484330014aaef9b0bfac1f1ae191bc2460 (diff) | |
download | gnunet-75c121f5ae37d3c7ccd95f4449aea33ccb4200f0.tar.gz gnunet-75c121f5ae37d3c7ccd95f4449aea33ccb4200f0.zip |
change to core pai
Diffstat (limited to 'src/core/test_core_quota_compliance.c')
-rw-r--r-- | src/core/test_core_quota_compliance.c | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/src/core/test_core_quota_compliance.c b/src/core/test_core_quota_compliance.c index 884d5fa5e..e09417642 100644 --- a/src/core/test_core_quota_compliance.c +++ b/src/core/test_core_quota_compliance.c | |||
@@ -360,9 +360,7 @@ transmit_ready (void *cls, size_t size, void *buf) | |||
360 | 360 | ||
361 | 361 | ||
362 | static void | 362 | static void |
363 | connect_notify (void *cls, const struct GNUNET_PeerIdentity *peer, | 363 | connect_notify (void *cls, const struct GNUNET_PeerIdentity *peer) |
364 | const struct GNUNET_ATS_Information *atsi, | ||
365 | unsigned int atsi_count) | ||
366 | { | 364 | { |
367 | struct PeerContext *pc = cls; | 365 | struct PeerContext *pc = cls; |
368 | 366 | ||
@@ -425,9 +423,7 @@ disconnect_notify (void *cls, const struct GNUNET_PeerIdentity *peer) | |||
425 | 423 | ||
426 | static int | 424 | static int |
427 | inbound_notify (void *cls, const struct GNUNET_PeerIdentity *other, | 425 | inbound_notify (void *cls, const struct GNUNET_PeerIdentity *other, |
428 | const struct GNUNET_MessageHeader *message, | 426 | const struct GNUNET_MessageHeader *message) |
429 | const struct GNUNET_ATS_Information *atsi, | ||
430 | unsigned int atsi_count) | ||
431 | { | 427 | { |
432 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 428 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
433 | "Core provides inbound data from `%4s' %llu.\n", | 429 | "Core provides inbound data from `%4s' %llu.\n", |
@@ -439,9 +435,7 @@ inbound_notify (void *cls, const struct GNUNET_PeerIdentity *other, | |||
439 | 435 | ||
440 | static int | 436 | static int |
441 | outbound_notify (void *cls, const struct GNUNET_PeerIdentity *other, | 437 | outbound_notify (void *cls, const struct GNUNET_PeerIdentity *other, |
442 | const struct GNUNET_MessageHeader *message, | 438 | const struct GNUNET_MessageHeader *message) |
443 | const struct GNUNET_ATS_Information *atsi, | ||
444 | unsigned int atsi_count) | ||
445 | { | 439 | { |
446 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 440 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
447 | "Core notifies about outbound data for `%4s'.\n", | 441 | "Core notifies about outbound data for `%4s'.\n", |
@@ -455,9 +449,7 @@ transmit_ready (void *cls, size_t size, void *buf); | |||
455 | 449 | ||
456 | static int | 450 | static int |
457 | process_mtype (void *cls, const struct GNUNET_PeerIdentity *peer, | 451 | process_mtype (void *cls, const struct GNUNET_PeerIdentity *peer, |
458 | const struct GNUNET_MessageHeader *message, | 452 | const struct GNUNET_MessageHeader *message) |
459 | const struct GNUNET_ATS_Information *atsi, | ||
460 | unsigned int atsi_count) | ||
461 | { | 453 | { |
462 | static int n; | 454 | static int n; |
463 | const struct TestMessage *hdr; | 455 | const struct TestMessage *hdr; |