diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-10-22 21:59:27 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-10-22 21:59:27 +0000 |
commit | f44c0036572d5557d2496748a4190a61e40e61ff (patch) | |
tree | bceb908e8542883ed246f96b4c619c0c49a06782 /src/core/test_core_quota_compliance.c | |
parent | 9d87d51965287d83ee332b8c50baff95bd62649a (diff) | |
download | gnunet-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.c | 8 |
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 | ||
365 | static void | 365 | static void |
366 | connect_notify (void *cls, const struct GNUNET_PeerIdentity *peer, | 366 | connect_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) | |||
431 | static int | 431 | static int |
432 | inbound_notify (void *cls, const struct GNUNET_PeerIdentity *other, | 432 | inbound_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, | |||
446 | static int | 446 | static int |
447 | outbound_notify (void *cls, const struct GNUNET_PeerIdentity *other, | 447 | outbound_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); | |||
463 | static int | 463 | static int |
464 | process_mtype (void *cls, const struct GNUNET_PeerIdentity *peer, | 464 | process_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; |