aboutsummaryrefslogtreecommitdiff
path: root/src/gns/nss/nss_gns_query.c
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2014-02-08 16:46:25 +0000
committerMartin Schanzenbach <mschanzenbach@posteo.de>2014-02-08 16:46:25 +0000
commit5caf86f236b1a819abdfdc5c2515bdc087b56a69 (patch)
tree56b206d4f40266a09382723f9548b25378707dfd /src/gns/nss/nss_gns_query.c
parentea14803789efc976c0f9d89097b1785a9325968d (diff)
downloadgnunet-5caf86f236b1a819abdfdc5c2515bdc087b56a69.tar.gz
gnunet-5caf86f236b1a819abdfdc5c2515bdc087b56a69.zip
-no reverse GNS
Diffstat (limited to 'src/gns/nss/nss_gns_query.c')
-rw-r--r--src/gns/nss/nss_gns_query.c34
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 9e1cdde34..91d85e88e 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,
105 free (cmd); 105 free (cmd);
106 return 0; 106 return 0;
107} 107}
108
109#ifndef NSS_IPV6_ONLY
110/**
111 * Wrapper function that uses gnunet-namecache cli tool to resolve
112 * an hostnames from IPv4/6 addresses.
113 *
114 * @param addr the ip to resolve
115 * @param u the userdata (result struct)
116 * @return -1 on error else 0
117 */
118int
119namecache_resolve_ip4 (const ipv4_address_t* addr,
120 struct userdata *u)
121{
122 return -1;
123}
124#endif
125
126#ifndef NSS_IPV4_ONLY
127/**
128 * Wrapper function that uses gnunet-namecache cli tool to resolve
129 * an hostnames from IPv4/6 addresses.
130 *
131 * @param addr the ip to resolve
132 * @param u the userdata (result struct)
133 * @return -1 on error else 0
134 */
135int
136namecache_resolve_ip6 (const ipv6_address_t* addr,
137 struct userdata *u)
138{
139 return -1;
140}
141#endif
142/* end of nss_gns_query.c */ 108/* end of nss_gns_query.c */