aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_hello_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-11-23 17:19:53 +0100
committerChristian Grothoff <christian@grothoff.org>2018-11-23 17:19:53 +0100
commit61787bfa37e0ac5998e01d9c4806600033c19c74 (patch)
tree1ceb843f63aa076682ebfa2de2250dc32ee65004 /src/include/gnunet_hello_lib.h
parent4a3be482811fe8ed1502fea2c12a8449b560a99e (diff)
downloadgnunet-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.h10
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 */
481enum GNUNET_ATS_Network_Type;
482 478
483 479
484/** 480/**
@@ -493,7 +489,7 @@ enum GNUNET_ATS_Network_Type;
493 */ 489 */
494void 490void
495GNUNET_HELLO_sign_address (const char *address, 491GNUNET_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 *
514GNUNET_HELLO_extract_address (const void *raw, 510GNUNET_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