diff options
Diffstat (limited to 'src/gns/nss/nss_gns_query.c')
-rw-r--r-- | src/gns/nss/nss_gns_query.c | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/src/gns/nss/nss_gns_query.c b/src/gns/nss/nss_gns_query.c index 9e1cdde349..91d85e88e0 100644 --- a/src/gns/nss/nss_gns_query.c +++ b/src/gns/nss/nss_gns_query.c @@ -105,38 +105,4 @@ gns_resolve_name (int af, free (cmd); return 0; } - -#ifndef NSS_IPV6_ONLY -/** - * Wrapper function that uses gnunet-namecache cli tool to resolve - * an hostnames from IPv4/6 addresses. - * - * @param addr the ip to resolve - * @param u the userdata (result struct) - * @return -1 on error else 0 - */ -int -namecache_resolve_ip4 (const ipv4_address_t* addr, - struct userdata *u) -{ - return -1; -} -#endif - -#ifndef NSS_IPV4_ONLY -/** - * Wrapper function that uses gnunet-namecache cli tool to resolve - * an hostnames from IPv4/6 addresses. - * - * @param addr the ip to resolve - * @param u the userdata (result struct) - * @return -1 on error else 0 - */ -int -namecache_resolve_ip6 (const ipv6_address_t* addr, - struct userdata *u) -{ - return -1; -} -#endif /* end of nss_gns_query.c */ |