aboutsummaryrefslogtreecommitdiff
path: root/src/core/test_core_api_reliability.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_api_reliability.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_api_reliability.c')
-rw-r--r--src/core/test_core_api_reliability.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/test_core_api_reliability.c b/src/core/test_core_api_reliability.c
index f40b61660..6a764c126 100644
--- a/src/core/test_core_api_reliability.c
+++ b/src/core/test_core_api_reliability.c
@@ -239,7 +239,7 @@ transmit_ready (void *cls, size_t size, void *buf)
239 239
240static void 240static void
241connect_notify (void *cls, const struct GNUNET_PeerIdentity *peer, 241connect_notify (void *cls, const struct GNUNET_PeerIdentity *peer,
242 const struct GNUNET_ATS_Information *atsi) 242 const struct GNUNET_ATS_Information *atsi, unsigned int atsi_count)
243{ 243{
244 struct PeerContext *pc = cls; 244 struct PeerContext *pc = cls;
245 245
@@ -284,7 +284,7 @@ disconnect_notify (void *cls, const struct GNUNET_PeerIdentity *peer)
284static int 284static int
285inbound_notify (void *cls, const struct GNUNET_PeerIdentity *other, 285inbound_notify (void *cls, const struct GNUNET_PeerIdentity *other,
286 const struct GNUNET_MessageHeader *message, 286 const struct GNUNET_MessageHeader *message,
287 const struct GNUNET_ATS_Information *atsi) 287 const struct GNUNET_ATS_Information *atsi, unsigned int atsi_count)
288{ 288{
289#if VERBOSE 289#if VERBOSE
290 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 290 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
@@ -297,7 +297,7 @@ inbound_notify (void *cls, const struct GNUNET_PeerIdentity *other,
297static int 297static int
298outbound_notify (void *cls, const struct GNUNET_PeerIdentity *other, 298outbound_notify (void *cls, const struct GNUNET_PeerIdentity *other,
299 const struct GNUNET_MessageHeader *message, 299 const struct GNUNET_MessageHeader *message,
300 const struct GNUNET_ATS_Information *atsi) 300 const struct GNUNET_ATS_Information *atsi, unsigned int atsi_count)
301{ 301{
302#if VERBOSE 302#if VERBOSE
303 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 303 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
@@ -314,7 +314,7 @@ transmit_ready (void *cls, size_t size, void *buf);
314static int 314static int
315process_mtype (void *cls, const struct GNUNET_PeerIdentity *peer, 315process_mtype (void *cls, const struct GNUNET_PeerIdentity *peer,
316 const struct GNUNET_MessageHeader *message, 316 const struct GNUNET_MessageHeader *message,
317 const struct GNUNET_ATS_Information *atsi) 317 const struct GNUNET_ATS_Information *atsi, unsigned int atsi_count)
318{ 318{
319 static int n; 319 static int n;
320 unsigned int s; 320 unsigned int s;