aboutsummaryrefslogtreecommitdiff
path: root/src/core/test_core_api_start_only.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_start_only.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_start_only.c')
-rw-r--r--src/core/test_core_api_start_only.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/core/test_core_api_start_only.c b/src/core/test_core_api_start_only.c
index 9825131be..f27866c19 100644
--- a/src/core/test_core_api_start_only.c
+++ b/src/core/test_core_api_start_only.c
@@ -67,7 +67,8 @@ static int ok;
67 67
68static void 68static void
69connect_notify (void *cls, const struct GNUNET_PeerIdentity *peer, 69connect_notify (void *cls, const struct GNUNET_PeerIdentity *peer,
70 const struct GNUNET_ATS_Information *atsi) 70 const struct GNUNET_ATS_Information *atsi,
71 unsigned int atsi_count)
71{ 72{
72} 73}
73 74
@@ -81,7 +82,8 @@ disconnect_notify (void *cls, const struct GNUNET_PeerIdentity *peer)
81static int 82static int
82inbound_notify (void *cls, const struct GNUNET_PeerIdentity *other, 83inbound_notify (void *cls, const struct GNUNET_PeerIdentity *other,
83 const struct GNUNET_MessageHeader *message, 84 const struct GNUNET_MessageHeader *message,
84 const struct GNUNET_ATS_Information *atsi) 85 const struct GNUNET_ATS_Information *atsi,
86 unsigned int atsi_count)
85{ 87{
86 return GNUNET_OK; 88 return GNUNET_OK;
87} 89}
@@ -90,7 +92,8 @@ inbound_notify (void *cls, const struct GNUNET_PeerIdentity *other,
90static int 92static int
91outbound_notify (void *cls, const struct GNUNET_PeerIdentity *other, 93outbound_notify (void *cls, const struct GNUNET_PeerIdentity *other,
92 const struct GNUNET_MessageHeader *message, 94 const struct GNUNET_MessageHeader *message,
93 const struct GNUNET_ATS_Information *atsi) 95 const struct GNUNET_ATS_Information *atsi,
96 unsigned int atsi_count)
94{ 97{
95 return GNUNET_OK; 98 return GNUNET_OK;
96} 99}