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.c | |
parent | eb2371484330014aaef9b0bfac1f1ae191bc2460 (diff) | |
download | gnunet-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.c | 16 |
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 | ||
155 | static void | 155 | static void |
156 | connect_notify (void *cls, const struct GNUNET_PeerIdentity *peer, | 156 | connect_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 | ||
208 | static int | 206 | static int |
209 | inbound_notify (void *cls, const struct GNUNET_PeerIdentity *other, | 207 | inbound_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 | ||
220 | static int | 216 | static int |
221 | outbound_notify (void *cls, const struct GNUNET_PeerIdentity *other, | 217 | outbound_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 | ||
234 | static int | 228 | static int |
235 | process_mtype (void *cls, const struct GNUNET_PeerIdentity *peer, | 229 | process_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)); |