aboutsummaryrefslogtreecommitdiff
path: root/src/core/test_core_api.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-03-21 14:43:47 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-03-21 14:43:47 +0000
commit75c121f5ae37d3c7ccd95f4449aea33ccb4200f0 (patch)
tree3fb440657f99a826cc4f963db55e28cb426ed9d8 /src/core/test_core_api.c
parenteb2371484330014aaef9b0bfac1f1ae191bc2460 (diff)
downloadgnunet-75c121f5ae37d3c7ccd95f4449aea33ccb4200f0.tar.gz
gnunet-75c121f5ae37d3c7ccd95f4449aea33ccb4200f0.zip
change to core pai
Diffstat (limited to 'src/core/test_core_api.c')
-rw-r--r--src/core/test_core_api.c16
1 files changed, 4 insertions, 12 deletions
diff --git a/src/core/test_core_api.c b/src/core/test_core_api.c
index ab96fb47e..c7865dd11 100644
--- a/src/core/test_core_api.c
+++ b/src/core/test_core_api.c
@@ -153,9 +153,7 @@ transmit_ready (void *cls, size_t size, void *buf)
153 153
154 154
155static void 155static void
156connect_notify (void *cls, const struct GNUNET_PeerIdentity *peer, 156connect_notify (void *cls, const struct GNUNET_PeerIdentity *peer)
157 const struct GNUNET_ATS_Information *atsi,
158 unsigned int atsi_count)
159{ 157{
160 struct PeerContext *pc = cls; 158 struct PeerContext *pc = cls;
161 159
@@ -207,9 +205,7 @@ disconnect_notify (void *cls, const struct GNUNET_PeerIdentity *peer)
207 205
208static int 206static int
209inbound_notify (void *cls, const struct GNUNET_PeerIdentity *other, 207inbound_notify (void *cls, const struct GNUNET_PeerIdentity *other,
210 const struct GNUNET_MessageHeader *message, 208 const struct GNUNET_MessageHeader *message)
211 const struct GNUNET_ATS_Information *atsi,
212 unsigned int atsi_count)
213{ 209{
214 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 210 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
215 "Core provides inbound data from `%4s'.\n", GNUNET_i2s (other)); 211 "Core provides inbound data from `%4s'.\n", GNUNET_i2s (other));
@@ -219,9 +215,7 @@ inbound_notify (void *cls, const struct GNUNET_PeerIdentity *other,
219 215
220static int 216static int
221outbound_notify (void *cls, const struct GNUNET_PeerIdentity *other, 217outbound_notify (void *cls, const struct GNUNET_PeerIdentity *other,
222 const struct GNUNET_MessageHeader *message, 218 const struct GNUNET_MessageHeader *message)
223 const struct GNUNET_ATS_Information *atsi,
224 unsigned int atsi_count)
225{ 219{
226 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 220 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
227 "Core notifies about outbound data for `%4s'.\n", 221 "Core notifies about outbound data for `%4s'.\n",
@@ -233,9 +227,7 @@ outbound_notify (void *cls, const struct GNUNET_PeerIdentity *other,
233 227
234static int 228static int
235process_mtype (void *cls, const struct GNUNET_PeerIdentity *peer, 229process_mtype (void *cls, const struct GNUNET_PeerIdentity *peer,
236 const struct GNUNET_MessageHeader *message, 230 const struct GNUNET_MessageHeader *message)
237 const struct GNUNET_ATS_Information *atsi,
238 unsigned int atsi_count)
239{ 231{
240 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Receiving message from `%4s'.\n", 232 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Receiving message from `%4s'.\n",
241 GNUNET_i2s (peer)); 233 GNUNET_i2s (peer));