aboutsummaryrefslogtreecommitdiff
path: root/src/core/test_core_api_reliability.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_reliability.c
parenteb2371484330014aaef9b0bfac1f1ae191bc2460 (diff)
downloadgnunet-75c121f5ae37d3c7ccd95f4449aea33ccb4200f0.tar.gz
gnunet-75c121f5ae37d3c7ccd95f4449aea33ccb4200f0.zip
change to core pai
Diffstat (limited to 'src/core/test_core_api_reliability.c')
-rw-r--r--src/core/test_core_api_reliability.c16
1 files changed, 4 insertions, 12 deletions
diff --git a/src/core/test_core_api_reliability.c b/src/core/test_core_api_reliability.c
index 061158d71..47ade350c 100644
--- a/src/core/test_core_api_reliability.c
+++ b/src/core/test_core_api_reliability.c
@@ -231,9 +231,7 @@ transmit_ready (void *cls, size_t size, void *buf)
231 231
232 232
233static void 233static void
234connect_notify (void *cls, const struct GNUNET_PeerIdentity *peer, 234connect_notify (void *cls, const struct GNUNET_PeerIdentity *peer)
235 const struct GNUNET_ATS_Information *atsi,
236 unsigned int atsi_count)
237{ 235{
238 struct PeerContext *pc = cls; 236 struct PeerContext *pc = cls;
239 237
@@ -277,9 +275,7 @@ disconnect_notify (void *cls, const struct GNUNET_PeerIdentity *peer)
277 275
278static int 276static int
279inbound_notify (void *cls, const struct GNUNET_PeerIdentity *other, 277inbound_notify (void *cls, const struct GNUNET_PeerIdentity *other,
280 const struct GNUNET_MessageHeader *message, 278 const struct GNUNET_MessageHeader *message)
281 const struct GNUNET_ATS_Information *atsi,
282 unsigned int atsi_count)
283{ 279{
284 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 280 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
285 "Core provides inbound data from `%4s'.\n", GNUNET_i2s (other)); 281 "Core provides inbound data from `%4s'.\n", GNUNET_i2s (other));
@@ -289,9 +285,7 @@ inbound_notify (void *cls, const struct GNUNET_PeerIdentity *other,
289 285
290static int 286static int
291outbound_notify (void *cls, const struct GNUNET_PeerIdentity *other, 287outbound_notify (void *cls, const struct GNUNET_PeerIdentity *other,
292 const struct GNUNET_MessageHeader *message, 288 const struct GNUNET_MessageHeader *message)
293 const struct GNUNET_ATS_Information *atsi,
294 unsigned int atsi_count)
295{ 289{
296 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 290 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
297 "Core notifies about outbound data for `%4s'.\n", 291 "Core notifies about outbound data for `%4s'.\n",
@@ -306,9 +300,7 @@ transmit_ready (void *cls, size_t size, void *buf);
306 300
307static int 301static int
308process_mtype (void *cls, const struct GNUNET_PeerIdentity *peer, 302process_mtype (void *cls, const struct GNUNET_PeerIdentity *peer,
309 const struct GNUNET_MessageHeader *message, 303 const struct GNUNET_MessageHeader *message)
310 const struct GNUNET_ATS_Information *atsi,
311 unsigned int atsi_count)
312{ 304{
313 static int n; 305 static int n;
314 unsigned int s; 306 unsigned int s;