aboutsummaryrefslogtreecommitdiff
path: root/src/hostlist
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/hostlist
parent4b5e8dcb8d6f0d29fffb823e600c73be404d9b39 (diff)
downloadgnunet-a2d9b4434076254811584a4a0ffa8881d0903db8.tar.gz
gnunet-a2d9b4434076254811584a4a0ffa8881d0903db8.zip
move GNUNET_TRANSPORT_ATS_ to GNUNET_ATS_
Diffstat (limited to 'src/hostlist')
-rw-r--r--src/hostlist/gnunet-daemon-hostlist.c4
-rw-r--r--src/hostlist/hostlist-client.c4
-rw-r--r--src/hostlist/hostlist-server.c2
-rw-r--r--src/hostlist/test_gnunet_daemon_hostlist.c2
-rw-r--r--src/hostlist/test_gnunet_daemon_hostlist_learning.c2
-rw-r--r--src/hostlist/test_gnunet_daemon_hostlist_reconnect.c2
6 files changed, 8 insertions, 8 deletions
diff --git a/src/hostlist/gnunet-daemon-hostlist.c b/src/hostlist/gnunet-daemon-hostlist.c
index 30f736002..fb23d2345 100644
--- a/src/hostlist/gnunet-daemon-hostlist.c
+++ b/src/hostlist/gnunet-daemon-hostlist.c
@@ -140,7 +140,7 @@ core_init (void *cls, struct GNUNET_CORE_Handle *server,
140static int 140static int
141advertisement_handler (void *cls, const struct GNUNET_PeerIdentity *peer, 141advertisement_handler (void *cls, const struct GNUNET_PeerIdentity *peer,
142 const struct GNUNET_MessageHeader *message, 142 const struct GNUNET_MessageHeader *message,
143 const struct GNUNET_TRANSPORT_ATS_Information *atsi) 143 const struct GNUNET_ATS_Information *atsi)
144{ 144{
145 GNUNET_assert (NULL != client_adv_handler); 145 GNUNET_assert (NULL != client_adv_handler);
146 return (*client_adv_handler) (cls, peer, message, atsi); 146 return (*client_adv_handler) (cls, peer, message, atsi);
@@ -156,7 +156,7 @@ advertisement_handler (void *cls, const struct GNUNET_PeerIdentity *peer,
156 */ 156 */
157static void 157static void
158connect_handler (void *cls, const struct GNUNET_PeerIdentity *peer, 158connect_handler (void *cls, const struct GNUNET_PeerIdentity *peer,
159 const struct GNUNET_TRANSPORT_ATS_Information *atsi) 159 const struct GNUNET_ATS_Information *atsi)
160{ 160{
161 if (0 == memcmp (&me, peer, sizeof (struct GNUNET_PeerIdentity))) 161 if (0 == memcmp (&me, peer, sizeof (struct GNUNET_PeerIdentity)))
162 return; 162 return;
diff --git a/src/hostlist/hostlist-client.c b/src/hostlist/hostlist-client.c
index 1cc5836af..1f3ad2a7c 100644
--- a/src/hostlist/hostlist-client.c
+++ b/src/hostlist/hostlist-client.c
@@ -1110,7 +1110,7 @@ task_hostlist_saving (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
1110 */ 1110 */
1111static void 1111static void
1112handler_connect (void *cls, const struct GNUNET_PeerIdentity *peer, 1112handler_connect (void *cls, const struct GNUNET_PeerIdentity *peer,
1113 const struct GNUNET_TRANSPORT_ATS_Information *atsi) 1113 const struct GNUNET_ATS_Information *atsi)
1114{ 1114{
1115 GNUNET_assert (stat_connection_count < UINT_MAX); 1115 GNUNET_assert (stat_connection_count < UINT_MAX);
1116 stat_connection_count++; 1116 stat_connection_count++;
@@ -1148,7 +1148,7 @@ handler_disconnect (void *cls, const struct GNUNET_PeerIdentity *peer)
1148static int 1148static int
1149handler_advertisement (void *cls, const struct GNUNET_PeerIdentity *peer, 1149handler_advertisement (void *cls, const struct GNUNET_PeerIdentity *peer,
1150 const struct GNUNET_MessageHeader *message, 1150 const struct GNUNET_MessageHeader *message,
1151 const struct GNUNET_TRANSPORT_ATS_Information *atsi) 1151 const struct GNUNET_ATS_Information *atsi)
1152{ 1152{
1153 size_t size; 1153 size_t size;
1154 size_t uri_size; 1154 size_t uri_size;
diff --git a/src/hostlist/hostlist-server.c b/src/hostlist/hostlist-server.c
index 633824c41..fb4c1b1b9 100644
--- a/src/hostlist/hostlist-server.c
+++ b/src/hostlist/hostlist-server.c
@@ -365,7 +365,7 @@ adv_transmit_ready (void *cls, size_t size, void *buf)
365 */ 365 */
366static void 366static void
367connect_handler (void *cls, const struct GNUNET_PeerIdentity *peer, 367connect_handler (void *cls, const struct GNUNET_PeerIdentity *peer,
368 const struct GNUNET_TRANSPORT_ATS_Information *atsi) 368 const struct GNUNET_ATS_Information *atsi)
369{ 369{
370 size_t size; 370 size_t size;
371 371
diff --git a/src/hostlist/test_gnunet_daemon_hostlist.c b/src/hostlist/test_gnunet_daemon_hostlist.c
index 09410e14d..bcb302978 100644
--- a/src/hostlist/test_gnunet_daemon_hostlist.c
+++ b/src/hostlist/test_gnunet_daemon_hostlist.c
@@ -97,7 +97,7 @@ timeout_error (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
97 */ 97 */
98static void 98static void
99notify_connect (void *cls, const struct GNUNET_PeerIdentity *peer, 99notify_connect (void *cls, const struct GNUNET_PeerIdentity *peer,
100 const struct GNUNET_TRANSPORT_ATS_Information *ats, 100 const struct GNUNET_ATS_Information *ats,
101 uint32_t ats_count) 101 uint32_t ats_count)
102{ 102{
103 if (peer == NULL) 103 if (peer == NULL)
diff --git a/src/hostlist/test_gnunet_daemon_hostlist_learning.c b/src/hostlist/test_gnunet_daemon_hostlist_learning.c
index c6b04ac7e..9d72433ce 100644
--- a/src/hostlist/test_gnunet_daemon_hostlist_learning.c
+++ b/src/hostlist/test_gnunet_daemon_hostlist_learning.c
@@ -298,7 +298,7 @@ check_statistics (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
298static int 298static int
299ad_arrive_handler (void *cls, const struct GNUNET_PeerIdentity *peer, 299ad_arrive_handler (void *cls, const struct GNUNET_PeerIdentity *peer,
300 const struct GNUNET_MessageHeader *message, 300 const struct GNUNET_MessageHeader *message,
301 const struct GNUNET_TRANSPORT_ATS_Information *atsi) 301 const struct GNUNET_ATS_Information *atsi)
302{ 302{
303 char *hostname; 303 char *hostname;
304 char *expected_uri; 304 char *expected_uri;
diff --git a/src/hostlist/test_gnunet_daemon_hostlist_reconnect.c b/src/hostlist/test_gnunet_daemon_hostlist_reconnect.c
index ae5c1b6dd..18757a79e 100644
--- a/src/hostlist/test_gnunet_daemon_hostlist_reconnect.c
+++ b/src/hostlist/test_gnunet_daemon_hostlist_reconnect.c
@@ -108,7 +108,7 @@ timeout_error (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
108 */ 108 */
109static void 109static void
110notify_connect (void *cls, const struct GNUNET_PeerIdentity *peer, 110notify_connect (void *cls, const struct GNUNET_PeerIdentity *peer,
111 const struct GNUNET_TRANSPORT_ATS_Information *ats, 111 const struct GNUNET_ATS_Information *ats,
112 uint32_t ats_count) 112 uint32_t ats_count)
113{ 113{
114 if (peer == NULL) 114 if (peer == NULL)