summaryrefslogtreecommitdiff
path: root/src/gns/gnunet-service-gns_resolver.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-10-20 13:49:09 +0000
committerChristian Grothoff <christian@grothoff.org>2013-10-20 13:49:09 +0000
commitd692b86f8096cb613b8f14418c1dddddd584fe8a (patch)
tree4006416de0c3934255781a7be033da24409d3fd1 /src/gns/gnunet-service-gns_resolver.c
parent11cd4959d673c5c58d9a952d25425c3ca4ba4b3e (diff)
downloadgnunet-d692b86f8096cb613b8f14418c1dddddd584fe8a.tar.gz
gnunet-d692b86f8096cb613b8f14418c1dddddd584fe8a.zip
-dead code elimination
Diffstat (limited to 'src/gns/gnunet-service-gns_resolver.c')
-rw-r--r--src/gns/gnunet-service-gns_resolver.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/gns/gnunet-service-gns_resolver.c b/src/gns/gnunet-service-gns_resolver.c
index 925277857..e4f5be6f0 100644
--- a/src/gns/gnunet-service-gns_resolver.c
+++ b/src/gns/gnunet-service-gns_resolver.c
@@ -360,11 +360,6 @@ struct CacheOps
360 360
361 361
362/** 362/**
363 * Our handle to the namestore service
364 */
365static struct GNUNET_NAMESTORE_Handle *namestore_handle;
366
367/**
368 * Our handle to the namecache service 363 * Our handle to the namecache service
369 */ 364 */
370static struct GNUNET_NAMECACHE_Handle *namecache_handle; 365static struct GNUNET_NAMECACHE_Handle *namecache_handle;
@@ -2143,15 +2138,13 @@ GNS_resolver_lookup_cancel (struct GNS_ResolverHandle *rh)
2143/** 2138/**
2144 * Initialize the resolver 2139 * Initialize the resolver
2145 * 2140 *
2146 * @param nh the namestore handle
2147 * @param nc the namecache handle 2141 * @param nc the namecache handle
2148 * @param dht the dht handle 2142 * @param dht the dht handle
2149 * @param c configuration handle 2143 * @param c configuration handle
2150 * @param max_bg_queries maximum number of parallel background queries in dht 2144 * @param max_bg_queries maximum number of parallel background queries in dht
2151 */ 2145 */
2152void 2146void
2153GNS_resolver_init (struct GNUNET_NAMESTORE_Handle *nh, 2147GNS_resolver_init (struct GNUNET_NAMECACHE_Handle *nc,
2154 struct GNUNET_NAMECACHE_Handle *nc,
2155 struct GNUNET_DHT_Handle *dht, 2148 struct GNUNET_DHT_Handle *dht,
2156 const struct GNUNET_CONFIGURATION_Handle *c, 2149 const struct GNUNET_CONFIGURATION_Handle *c,
2157 unsigned long long max_bg_queries) 2150 unsigned long long max_bg_queries)
@@ -2160,7 +2153,6 @@ GNS_resolver_init (struct GNUNET_NAMESTORE_Handle *nh,
2160 2153
2161 cfg = c; 2154 cfg = c;
2162 namecache_handle = nc; 2155 namecache_handle = nc;
2163 namestore_handle = nh;
2164 dht_handle = dht; 2156 dht_handle = dht;
2165 dht_lookup_heap = 2157 dht_lookup_heap =
2166 GNUNET_CONTAINER_heap_create (GNUNET_CONTAINER_HEAP_ORDER_MIN); 2158 GNUNET_CONTAINER_heap_create (GNUNET_CONTAINER_HEAP_ORDER_MIN);
@@ -2211,7 +2203,6 @@ GNS_resolver_done ()
2211 vpn_handle = NULL; 2203 vpn_handle = NULL;
2212 dht_handle = NULL; 2204 dht_handle = NULL;
2213 namecache_handle = NULL; 2205 namecache_handle = NULL;
2214 namestore_handle = NULL;
2215} 2206}
2216 2207
2217 2208