aboutsummaryrefslogtreecommitdiff
path: root/src/core/test_core_quota_compliance.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-10-22 21:59:27 +0000
committerChristian Grothoff <christian@grothoff.org>2011-10-22 21:59:27 +0000
commitf44c0036572d5557d2496748a4190a61e40e61ff (patch)
treebceb908e8542883ed246f96b4c619c0c49a06782 /src/core/test_core_quota_compliance.c
parent9d87d51965287d83ee332b8c50baff95bd62649a (diff)
downloadgnunet-f44c0036572d5557d2496748a4190a61e40e61ff.tar.gz
gnunet-f44c0036572d5557d2496748a4190a61e40e61ff.zip
replacing 0-terminated atsi-array with array+length in core API (and the core-connect IPC)
Diffstat (limited to 'src/core/test_core_quota_compliance.c')
-rw-r--r--src/core/test_core_quota_compliance.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/test_core_quota_compliance.c b/src/core/test_core_quota_compliance.c
index c8dcfad86..be875c235 100644
--- a/src/core/test_core_quota_compliance.c
+++ b/src/core/test_core_quota_compliance.c
@@ -364,7 +364,7 @@ transmit_ready (void *cls, size_t size, void *buf)
364 364
365static void 365static void
366connect_notify (void *cls, const struct GNUNET_PeerIdentity *peer, 366connect_notify (void *cls, const struct GNUNET_PeerIdentity *peer,
367 const struct GNUNET_ATS_Information *atsi) 367 const struct GNUNET_ATS_Information *atsi, unsigned int atsi_count)
368{ 368{
369 struct PeerContext *pc = cls; 369 struct PeerContext *pc = cls;
370 370
@@ -431,7 +431,7 @@ disconnect_notify (void *cls, const struct GNUNET_PeerIdentity *peer)
431static int 431static int
432inbound_notify (void *cls, const struct GNUNET_PeerIdentity *other, 432inbound_notify (void *cls, const struct GNUNET_PeerIdentity *other,
433 const struct GNUNET_MessageHeader *message, 433 const struct GNUNET_MessageHeader *message,
434 const struct GNUNET_ATS_Information *atsi) 434 const struct GNUNET_ATS_Information *atsi, unsigned int atsi_count)
435{ 435{
436#if DEBUG_TRANSMISSION 436#if DEBUG_TRANSMISSION
437 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 437 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
@@ -446,7 +446,7 @@ inbound_notify (void *cls, const struct GNUNET_PeerIdentity *other,
446static int 446static int
447outbound_notify (void *cls, const struct GNUNET_PeerIdentity *other, 447outbound_notify (void *cls, const struct GNUNET_PeerIdentity *other,
448 const struct GNUNET_MessageHeader *message, 448 const struct GNUNET_MessageHeader *message,
449 const struct GNUNET_ATS_Information *atsi) 449 const struct GNUNET_ATS_Information *atsi, unsigned int atsi_count)
450{ 450{
451#if DEBUG_TRANSMISSION 451#if DEBUG_TRANSMISSION
452 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 452 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
@@ -463,7 +463,7 @@ transmit_ready (void *cls, size_t size, void *buf);
463static int 463static int
464process_mtype (void *cls, const struct GNUNET_PeerIdentity *peer, 464process_mtype (void *cls, const struct GNUNET_PeerIdentity *peer,
465 const struct GNUNET_MessageHeader *message, 465 const struct GNUNET_MessageHeader *message,
466 const struct GNUNET_ATS_Information *atsi) 466 const struct GNUNET_ATS_Information *atsi, unsigned int atsi_count)
467{ 467{
468 static int n; 468 static int n;
469 const struct TestMessage *hdr; 469 const struct TestMessage *hdr;