diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-10-17 07:55:41 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-10-17 07:55:41 +0000 |
commit | a2d9b4434076254811584a4a0ffa8881d0903db8 (patch) | |
tree | 4f5a2ee5daaabdedb45aa5e7e1d03e3c0f28ed0e /src/mesh/mesh_api.c | |
parent | 4b5e8dcb8d6f0d29fffb823e600c73be404d9b39 (diff) | |
download | gnunet-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.c | 10 |
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 | */ |
255 | static void | 255 | static void |
256 | core_connect (void *cls, const struct GNUNET_PeerIdentity *peer, | 256 | core_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) | |||
383 | static int | 383 | static int |
384 | receive_hello (void *cls, const struct GNUNET_PeerIdentity *other, | 384 | receive_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, | |||
469 | static int | 469 | static int |
470 | core_receive (void *cls, const struct GNUNET_PeerIdentity *other, | 470 | core_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; |