aboutsummaryrefslogtreecommitdiff
path: root/src/mesh/mesh_api.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-10-17 07:55:41 +0000
committerChristian Grothoff <christian@grothoff.org>2011-10-17 07:55:41 +0000
commita2d9b4434076254811584a4a0ffa8881d0903db8 (patch)
tree4f5a2ee5daaabdedb45aa5e7e1d03e3c0f28ed0e /src/mesh/mesh_api.c
parent4b5e8dcb8d6f0d29fffb823e600c73be404d9b39 (diff)
downloadgnunet-a2d9b4434076254811584a4a0ffa8881d0903db8.tar.gz
gnunet-a2d9b4434076254811584a4a0ffa8881d0903db8.zip
move GNUNET_TRANSPORT_ATS_ to GNUNET_ATS_
Diffstat (limited to 'src/mesh/mesh_api.c')
-rw-r--r--src/mesh/mesh_api.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mesh/mesh_api.c b/src/mesh/mesh_api.c
index 871318755..2067b7b6c 100644
--- a/src/mesh/mesh_api.c
+++ b/src/mesh/mesh_api.c
@@ -113,7 +113,7 @@ struct peer_list_element
113 /* list of application-types */ 113 /* list of application-types */
114 struct type_list_element *type_head, *type_tail; 114 struct type_list_element *type_head, *type_tail;
115 115
116 struct GNUNET_TRANSPORT_ATS_Information atsi; 116 struct GNUNET_ATS_Information atsi;
117 struct peer_list_element *next, *prev; 117 struct peer_list_element *next, *prev;
118 118
119 /* The handle that sends the hellos to this peer */ 119 /* The handle that sends the hellos to this peer */
@@ -254,7 +254,7 @@ schedule_hello_message (void *cls,
254 */ 254 */
255static void 255static void
256core_connect (void *cls, const struct GNUNET_PeerIdentity *peer, 256core_connect (void *cls, const struct GNUNET_PeerIdentity *peer,
257 const struct GNUNET_TRANSPORT_ATS_Information *atsi) 257 const struct GNUNET_ATS_Information *atsi)
258{ 258{
259 struct GNUNET_MESH_Handle *handle = cls; 259 struct GNUNET_MESH_Handle *handle = cls;
260 260
@@ -272,7 +272,7 @@ core_connect (void *cls, const struct GNUNET_PeerIdentity *peer,
272 272
273 if (NULL != atsi) 273 if (NULL != atsi)
274 memcpy (&element->atsi, atsi, 274 memcpy (&element->atsi, atsi,
275 sizeof (struct GNUNET_TRANSPORT_ATS_Information)); 275 sizeof (struct GNUNET_ATS_Information));
276 276
277 GNUNET_CONTAINER_DLL_insert_after (handle->connected_peers.head, 277 GNUNET_CONTAINER_DLL_insert_after (handle->connected_peers.head,
278 handle->connected_peers.tail, 278 handle->connected_peers.tail,
@@ -383,7 +383,7 @@ core_disconnect (void *cls, const struct GNUNET_PeerIdentity *peer)
383static int 383static int
384receive_hello (void *cls, const struct GNUNET_PeerIdentity *other, 384receive_hello (void *cls, const struct GNUNET_PeerIdentity *other,
385 const struct GNUNET_MessageHeader *message, 385 const struct GNUNET_MessageHeader *message,
386 const struct GNUNET_TRANSPORT_ATS_Information *atsi) 386 const struct GNUNET_ATS_Information *atsi)
387{ 387{
388 struct GNUNET_MESH_Handle *handle = cls; 388 struct GNUNET_MESH_Handle *handle = cls;
389 uint16_t *num = (uint16_t *) (message + 1); 389 uint16_t *num = (uint16_t *) (message + 1);
@@ -469,7 +469,7 @@ receive_hello (void *cls, const struct GNUNET_PeerIdentity *other,
469static int 469static int
470core_receive (void *cls, const struct GNUNET_PeerIdentity *other, 470core_receive (void *cls, const struct GNUNET_PeerIdentity *other,
471 const struct GNUNET_MessageHeader *message, 471 const struct GNUNET_MessageHeader *message,
472 const struct GNUNET_TRANSPORT_ATS_Information *atsi) 472 const struct GNUNET_ATS_Information *atsi)
473{ 473{
474 struct GNUNET_MESH_Handle *handle = cls; 474 struct GNUNET_MESH_Handle *handle = cls;
475 struct tunnel_message *tmessage = (struct tunnel_message *) message; 475 struct tunnel_message *tmessage = (struct tunnel_message *) message;