aboutsummaryrefslogtreecommitdiff
path: root/src/testing/testing.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/testing/testing.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/testing/testing.c')
-rw-r--r--src/testing/testing.c8
1 files changed, 6 insertions, 2 deletions
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)
1882 * @param cls our "struct GNUNET_TESTING_ConnectContext" 1882 * @param cls our "struct GNUNET_TESTING_ConnectContext"
1883 * @param peer identity of the peer that has connected 1883 * @param peer identity of the peer that has connected
1884 * @param atsi performance information 1884 * @param atsi performance information
1885 * @param atsi_count number of records in 'atsi'
1885 * 1886 *
1886 */ 1887 */
1887static void 1888static void
1888connect_notify (void *cls, const struct GNUNET_PeerIdentity *peer, 1889connect_notify (void *cls, const struct GNUNET_PeerIdentity *peer,
1889 const struct GNUNET_ATS_Information *atsi) 1890 const struct GNUNET_ATS_Information *atsi,
1891 unsigned int atsi_count)
1890{ 1892{
1891 struct GNUNET_TESTING_ConnectContext *ctx = cls; 1893 struct GNUNET_TESTING_ConnectContext *ctx = cls;
1892 1894
@@ -2080,11 +2082,13 @@ reattempt_daemons_connect (void *cls,
2080 * @param peer identity of the peer that has connected, 2082 * @param peer identity of the peer that has connected,
2081 * NULL when iteration has finished 2083 * NULL when iteration has finished
2082 * @param atsi performance information 2084 * @param atsi performance information
2085 * @param atsi_count number of records in 'atsi'
2083 * 2086 *
2084 */ 2087 */
2085static void 2088static void
2086core_initial_iteration (void *cls, const struct GNUNET_PeerIdentity *peer, 2089core_initial_iteration (void *cls, const struct GNUNET_PeerIdentity *peer,
2087 const struct GNUNET_ATS_Information *atsi) 2090 const struct GNUNET_ATS_Information *atsi,
2091 unsigned int atsi_count)
2088{ 2092{
2089 struct GNUNET_TESTING_ConnectContext *ctx = cls; 2093 struct GNUNET_TESTING_ConnectContext *ctx = cls;
2090 2094