aboutsummaryrefslogtreecommitdiff
path: root/src/core/test_core_quota_compliance.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-03-21 14:43:47 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-03-21 14:43:47 +0000
commit75c121f5ae37d3c7ccd95f4449aea33ccb4200f0 (patch)
tree3fb440657f99a826cc4f963db55e28cb426ed9d8 /src/core/test_core_quota_compliance.c
parenteb2371484330014aaef9b0bfac1f1ae191bc2460 (diff)
downloadgnunet-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.c16
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
362static void 362static void
363connect_notify (void *cls, const struct GNUNET_PeerIdentity *peer, 363connect_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
426static int 424static int
427inbound_notify (void *cls, const struct GNUNET_PeerIdentity *other, 425inbound_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
440static int 436static int
441outbound_notify (void *cls, const struct GNUNET_PeerIdentity *other, 437outbound_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
456static int 450static int
457process_mtype (void *cls, const struct GNUNET_PeerIdentity *peer, 451process_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;