summaryrefslogtreecommitdiff
path: root/src/transport/transport_api_hello_get.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-07-30 17:13:49 +0000
committerChristian Grothoff <christian@grothoff.org>2016-07-30 17:13:49 +0000
commit48aec5c799d171609d8ae4918d0b8acbdfbb2bbc (patch)
treef7fa2c29fead558f0cd51deaae876f8a21fc40dc /src/transport/transport_api_hello_get.c
parentb54a66f94d833dbe98eb0dd9e236a3d7bba3ce20 (diff)
use different enum for HELLO address classes, deploy for DHT
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
/**
* Type of HELLOs client cares about.
*/
- enum GNUNET_ATS_Network_Type nt;
+ enum GNUNET_TRANSPORT_AddressClass ac;
};
@@ -219,7 +219,7 @@ schedule_reconnect (struct GNUNET_TRANSPORT_HelloGetHandle *ghh)
* is never called synchronously.
*
* @param cfg configuration
- * @param nt which network type should the addresses from the HELLO belong to?
+ * @param ac which network type should the addresses from the HELLO belong to?
* @param rec function to call with the HELLO, sender will be our peer
* identity; message and sender will be NULL on timeout
* (handshake with transport service pending/failed).
@@ -229,7 +229,7 @@ schedule_reconnect (struct GNUNET_TRANSPORT_HelloGetHandle *ghh)
*/
struct GNUNET_TRANSPORT_HelloGetHandle *
GNUNET_TRANSPORT_hello_get (const struct GNUNET_CONFIGURATION_Handle *cfg,
- enum GNUNET_ATS_Network_Type nt,
+ enum GNUNET_TRANSPORT_AddressClass ac,
GNUNET_TRANSPORT_HelloUpdateCallback rec,
void *rec_cls)
{
@@ -239,7 +239,7 @@ GNUNET_TRANSPORT_hello_get (const struct GNUNET_CONFIGURATION_Handle *cfg,
ghh->rec = rec;
ghh->rec_cls = rec_cls;
ghh->cfg = cfg;
- ghh->nt = nt;
+ ghh->ac = ac;
reconnect (ghh);
if (NULL == ghh->mq)
{