diff options
Diffstat (limited to 'src/mesh/test_mesh_local_1.c')
-rw-r--r-- | src/mesh/test_mesh_local_1.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesh/test_mesh_local_1.c b/src/mesh/test_mesh_local_1.c index d531dab6f..1c9196bb2 100644 --- a/src/mesh/test_mesh_local_1.c +++ b/src/mesh/test_mesh_local_1.c | |||
@@ -109,7 +109,7 @@ static int | |||
109 | data_callback (void *cls, struct GNUNET_MESH_Tunnel *tunnel, void **tunnel_ctx, | 109 | data_callback (void *cls, struct GNUNET_MESH_Tunnel *tunnel, void **tunnel_ctx, |
110 | const struct GNUNET_PeerIdentity *sender, | 110 | const struct GNUNET_PeerIdentity *sender, |
111 | const struct GNUNET_MessageHeader *message, | 111 | const struct GNUNET_MessageHeader *message, |
112 | const struct GNUNET_TRANSPORT_ATS_Information *atsi) | 112 | const struct GNUNET_ATS_Information *atsi) |
113 | { | 113 | { |
114 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "test: Data callback\n"); | 114 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "test: Data callback\n"); |
115 | GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_relative_multiply | 115 | GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_relative_multiply |
@@ -132,7 +132,7 @@ data_callback (void *cls, struct GNUNET_MESH_Tunnel *tunnel, void **tunnel_ctx, | |||
132 | static void * | 132 | static void * |
133 | inbound_tunnel (void *cls, struct GNUNET_MESH_Tunnel *tunnel, | 133 | inbound_tunnel (void *cls, struct GNUNET_MESH_Tunnel *tunnel, |
134 | const struct GNUNET_PeerIdentity *initiator, | 134 | const struct GNUNET_PeerIdentity *initiator, |
135 | const struct GNUNET_TRANSPORT_ATS_Information *atsi) | 135 | const struct GNUNET_ATS_Information *atsi) |
136 | { | 136 | { |
137 | unsigned int id = *(unsigned int *) cls; | 137 | unsigned int id = *(unsigned int *) cls; |
138 | 138 | ||
@@ -180,7 +180,7 @@ inbound_end (void *cls, const struct GNUNET_MESH_Tunnel *tunnel, | |||
180 | */ | 180 | */ |
181 | static void | 181 | static void |
182 | peer_conected (void *cls, const struct GNUNET_PeerIdentity *peer, | 182 | peer_conected (void *cls, const struct GNUNET_PeerIdentity *peer, |
183 | const struct GNUNET_TRANSPORT_ATS_Information *atsi) | 183 | const struct GNUNET_ATS_Information *atsi) |
184 | { | 184 | { |
185 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "test: peer connected\n"); | 185 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "test: peer connected\n"); |
186 | GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_SECONDS, &do_shutdown, NULL); | 186 | GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_SECONDS, &do_shutdown, NULL); |