diff options
Diffstat (limited to 'src/gns/gnunet-service-gns_resolver.h')
-rw-r--r-- | src/gns/gnunet-service-gns_resolver.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/gns/gnunet-service-gns_resolver.h b/src/gns/gnunet-service-gns_resolver.h index c71d3983d..06ecc51ce 100644 --- a/src/gns/gnunet-service-gns_resolver.h +++ b/src/gns/gnunet-service-gns_resolver.h | |||
@@ -100,25 +100,4 @@ GNS_resolver_lookup (const struct GNUNET_CRYPTO_EcdsaPublicKey *zone, | |||
100 | void | 100 | void |
101 | GNS_resolver_lookup_cancel (struct GNS_ResolverHandle *rh); | 101 | GNS_resolver_lookup_cancel (struct GNS_ResolverHandle *rh); |
102 | 102 | ||
103 | |||
104 | /** | ||
105 | * Generic function to check for TLDs. Checks if "name" ends in ".tld" | ||
106 | * | ||
107 | * @param name the name to check | ||
108 | * @param tld the tld to check | ||
109 | * @return #GNUNET_YES or #GNUNET_NO | ||
110 | */ | ||
111 | int | ||
112 | is_tld (const char *name, | ||
113 | const char *tld); | ||
114 | |||
115 | |||
116 | |||
117 | /** | ||
118 | * Checks for gnu/zkey | ||
119 | */ | ||
120 | #define is_gnu_tld(name) is_tld(name, GNUNET_GNS_TLD) | ||
121 | #define is_zkey_tld(name) is_tld(name, GNUNET_GNS_TLD_ZKEY) | ||
122 | |||
123 | |||
124 | #endif | 103 | #endif |