diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-03-21 14:43:47 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-03-21 14:43:47 +0000 |
commit | 75c121f5ae37d3c7ccd95f4449aea33ccb4200f0 (patch) | |
tree | 3fb440657f99a826cc4f963db55e28cb426ed9d8 /src/core/test_core_api_reliability.c | |
parent | eb2371484330014aaef9b0bfac1f1ae191bc2460 (diff) | |
download | gnunet-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.c | 16 |
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 | ||
233 | static void | 233 | static void |
234 | connect_notify (void *cls, const struct GNUNET_PeerIdentity *peer, | 234 | connect_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 | ||
278 | static int | 276 | static int |
279 | inbound_notify (void *cls, const struct GNUNET_PeerIdentity *other, | 277 | inbound_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 | ||
290 | static int | 286 | static int |
291 | outbound_notify (void *cls, const struct GNUNET_PeerIdentity *other, | 287 | outbound_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 | ||
307 | static int | 301 | static int |
308 | process_mtype (void *cls, const struct GNUNET_PeerIdentity *peer, | 302 | process_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; |