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/hostlist | |
parent | 4b5e8dcb8d6f0d29fffb823e600c73be404d9b39 (diff) | |
download | gnunet-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.c | 4 | ||||
-rw-r--r-- | src/hostlist/hostlist-client.c | 4 | ||||
-rw-r--r-- | src/hostlist/hostlist-server.c | 2 | ||||
-rw-r--r-- | src/hostlist/test_gnunet_daemon_hostlist.c | 2 | ||||
-rw-r--r-- | src/hostlist/test_gnunet_daemon_hostlist_learning.c | 2 | ||||
-rw-r--r-- | src/hostlist/test_gnunet_daemon_hostlist_reconnect.c | 2 |
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, | |||
140 | static int | 140 | static int |
141 | advertisement_handler (void *cls, const struct GNUNET_PeerIdentity *peer, | 141 | advertisement_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 | */ |
157 | static void | 157 | static void |
158 | connect_handler (void *cls, const struct GNUNET_PeerIdentity *peer, | 158 | connect_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 | */ |
1111 | static void | 1111 | static void |
1112 | handler_connect (void *cls, const struct GNUNET_PeerIdentity *peer, | 1112 | handler_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) | |||
1148 | static int | 1148 | static int |
1149 | handler_advertisement (void *cls, const struct GNUNET_PeerIdentity *peer, | 1149 | handler_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 | */ |
366 | static void | 366 | static void |
367 | connect_handler (void *cls, const struct GNUNET_PeerIdentity *peer, | 367 | connect_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 | */ |
98 | static void | 98 | static void |
99 | notify_connect (void *cls, const struct GNUNET_PeerIdentity *peer, | 99 | notify_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) | |||
298 | static int | 298 | static int |
299 | ad_arrive_handler (void *cls, const struct GNUNET_PeerIdentity *peer, | 299 | ad_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 | */ |
109 | static void | 109 | static void |
110 | notify_connect (void *cls, const struct GNUNET_PeerIdentity *peer, | 110 | notify_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) |