diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-11-23 17:19:53 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-11-23 17:19:53 +0100 |
commit | 61787bfa37e0ac5998e01d9c4806600033c19c74 (patch) | |
tree | 1ceb843f63aa076682ebfa2de2250dc32ee65004 /src/include/gnunet_hello_lib.h | |
parent | 4a3be482811fe8ed1502fea2c12a8449b560a99e (diff) | |
download | gnunet-61787bfa37e0ac5998e01d9c4806600033c19c74.tar.gz gnunet-61787bfa37e0ac5998e01d9c4806600033c19c74.zip |
rename fest: use new libgnunetnt instead of old libgnunetats logic for network type classification
Diffstat (limited to 'src/include/gnunet_hello_lib.h')
-rw-r--r-- | src/include/gnunet_hello_lib.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/include/gnunet_hello_lib.h b/src/include/gnunet_hello_lib.h index ceaa60466..8a405a25e 100644 --- a/src/include/gnunet_hello_lib.h +++ b/src/include/gnunet_hello_lib.h | |||
@@ -474,11 +474,7 @@ GNUNET_HELLO_parse_uri (const char *uri, | |||
474 | 474 | ||
475 | 475 | ||
476 | /* NG API */ | 476 | /* NG API */ |
477 | /** | 477 | #include "gnunet_nt_lib.h" |
478 | * Defined in gnunet_ats_service.h, but here we do not care about | ||
479 | * the details so are just giving the declaration. | ||
480 | */ | ||
481 | enum GNUNET_ATS_Network_Type; | ||
482 | 478 | ||
483 | 479 | ||
484 | /** | 480 | /** |
@@ -493,7 +489,7 @@ enum GNUNET_ATS_Network_Type; | |||
493 | */ | 489 | */ |
494 | void | 490 | void |
495 | GNUNET_HELLO_sign_address (const char *address, | 491 | GNUNET_HELLO_sign_address (const char *address, |
496 | enum GNUNET_ATS_Network_Type nt, | 492 | enum GNUNET_NetworkType nt, |
497 | struct GNUNET_TIME_Absolute expiration, | 493 | struct GNUNET_TIME_Absolute expiration, |
498 | const struct GNUNET_CRYPTO_EddsaPrivateKey *private_key, | 494 | const struct GNUNET_CRYPTO_EddsaPrivateKey *private_key, |
499 | void **result, | 495 | void **result, |
@@ -514,7 +510,7 @@ char * | |||
514 | GNUNET_HELLO_extract_address (const void *raw, | 510 | GNUNET_HELLO_extract_address (const void *raw, |
515 | size_t raw_size, | 511 | size_t raw_size, |
516 | const struct GNUNET_CRYPTO_EddsaPublicKey *public_key, | 512 | const struct GNUNET_CRYPTO_EddsaPublicKey *public_key, |
517 | enum GNUNET_ATS_Network_Type *nt, | 513 | enum GNUNET_NetworkType *nt, |
518 | struct GNUNET_TIME_Absolute *expiration); | 514 | struct GNUNET_TIME_Absolute *expiration); |
519 | 515 | ||
520 | 516 | ||