aboutsummaryrefslogtreecommitdiff
path: root/src/transport/transport_api_hello_get.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/transport_api_hello_get.c')
-rw-r--r--src/transport/transport_api_hello_get.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/transport/transport_api_hello_get.c b/src/transport/transport_api_hello_get.c
index 9d4209e04..ec7b544d6 100644
--- a/src/transport/transport_api_hello_get.c
+++ b/src/transport/transport_api_hello_get.c
@@ -77,7 +77,7 @@ struct GNUNET_TRANSPORT_HelloGetHandle
77 /** 77 /**
78 * Type of HELLOs client cares about. 78 * Type of HELLOs client cares about.
79 */ 79 */
80 enum GNUNET_ATS_Network_Type nt; 80 enum GNUNET_TRANSPORT_AddressClass ac;
81}; 81};
82 82
83 83
@@ -219,7 +219,7 @@ schedule_reconnect (struct GNUNET_TRANSPORT_HelloGetHandle *ghh)
219 * is never called synchronously. 219 * is never called synchronously.
220 * 220 *
221 * @param cfg configuration 221 * @param cfg configuration
222 * @param nt which network type should the addresses from the HELLO belong to? 222 * @param ac which network type should the addresses from the HELLO belong to?
223 * @param rec function to call with the HELLO, sender will be our peer 223 * @param rec function to call with the HELLO, sender will be our peer
224 * identity; message and sender will be NULL on timeout 224 * identity; message and sender will be NULL on timeout
225 * (handshake with transport service pending/failed). 225 * (handshake with transport service pending/failed).
@@ -229,7 +229,7 @@ schedule_reconnect (struct GNUNET_TRANSPORT_HelloGetHandle *ghh)
229 */ 229 */
230struct GNUNET_TRANSPORT_HelloGetHandle * 230struct GNUNET_TRANSPORT_HelloGetHandle *
231GNUNET_TRANSPORT_hello_get (const struct GNUNET_CONFIGURATION_Handle *cfg, 231GNUNET_TRANSPORT_hello_get (const struct GNUNET_CONFIGURATION_Handle *cfg,
232 enum GNUNET_ATS_Network_Type nt, 232 enum GNUNET_TRANSPORT_AddressClass ac,
233 GNUNET_TRANSPORT_HelloUpdateCallback rec, 233 GNUNET_TRANSPORT_HelloUpdateCallback rec,
234 void *rec_cls) 234 void *rec_cls)
235{ 235{
@@ -239,7 +239,7 @@ GNUNET_TRANSPORT_hello_get (const struct GNUNET_CONFIGURATION_Handle *cfg,
239 ghh->rec = rec; 239 ghh->rec = rec;
240 ghh->rec_cls = rec_cls; 240 ghh->rec_cls = rec_cls;
241 ghh->cfg = cfg; 241 ghh->cfg = cfg;
242 ghh->nt = nt; 242 ghh->ac = ac;
243 reconnect (ghh); 243 reconnect (ghh);
244 if (NULL == ghh->mq) 244 if (NULL == ghh->mq)
245 { 245 {