From f44c0036572d5557d2496748a4190a61e40e61ff Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 22 Oct 2011 21:59:27 +0000 Subject: replacing 0-terminated atsi-array with array+length in core API (and the core-connect IPC) --- src/testing/testing.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/testing/testing.c') diff --git a/src/testing/testing.c b/src/testing/testing.c index 1798a1af6..e81a92fb5 100644 --- a/src/testing/testing.c +++ b/src/testing/testing.c @@ -1882,11 +1882,13 @@ notify_connect_result (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) * @param cls our "struct GNUNET_TESTING_ConnectContext" * @param peer identity of the peer that has connected * @param atsi performance information + * @param atsi_count number of records in 'atsi' * */ static void connect_notify (void *cls, const struct GNUNET_PeerIdentity *peer, - const struct GNUNET_ATS_Information *atsi) + const struct GNUNET_ATS_Information *atsi, + unsigned int atsi_count) { struct GNUNET_TESTING_ConnectContext *ctx = cls; @@ -2080,11 +2082,13 @@ reattempt_daemons_connect (void *cls, * @param peer identity of the peer that has connected, * NULL when iteration has finished * @param atsi performance information + * @param atsi_count number of records in 'atsi' * */ static void core_initial_iteration (void *cls, const struct GNUNET_PeerIdentity *peer, - const struct GNUNET_ATS_Information *atsi) + const struct GNUNET_ATS_Information *atsi, + unsigned int atsi_count) { struct GNUNET_TESTING_ConnectContext *ctx = cls; -- cgit v1.2.3