diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2012-06-17 09:59:54 +0000 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2012-06-17 09:59:54 +0000 |
commit | 9e3600dfdff1323c0312fac527f9e5e9da4be055 (patch) | |
tree | fd8a2d8e00cfeba862b136c3416b79599dc52b84 /src/gns/gnunet-service-gns_resolver.h | |
parent | d89f437df5f75c2eebcea71ba6adc6e8452b2d27 (diff) | |
download | gnunet-9e3600dfdff1323c0312fac527f9e5e9da4be055.tar.gz gnunet-9e3600dfdff1323c0312fac527f9e5e9da4be055.zip |
-fix cname, more ns/vpn delegation
Diffstat (limited to 'src/gns/gnunet-service-gns_resolver.h')
-rw-r--r-- | src/gns/gnunet-service-gns_resolver.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gns/gnunet-service-gns_resolver.h b/src/gns/gnunet-service-gns_resolver.h index d7ad17d5f..768451205 100644 --- a/src/gns/gnunet-service-gns_resolver.h +++ b/src/gns/gnunet-service-gns_resolver.h | |||
@@ -142,9 +142,15 @@ struct ResolverHandle | |||
142 | /* a synthesized dns name */ | 142 | /* a synthesized dns name */ |
143 | char dns_name[MAX_DNS_NAME_LENGTH]; | 143 | char dns_name[MAX_DNS_NAME_LENGTH]; |
144 | 144 | ||
145 | /* the authoritative dns zone */ | ||
146 | char dns_zone[MAX_DNS_NAME_LENGTH]; | ||
147 | |||
145 | /* the address of the DNS server FIXME not needed? */ | 148 | /* the address of the DNS server FIXME not needed? */ |
146 | struct sockaddr_in dns_addr; | 149 | struct sockaddr_in dns_addr; |
147 | 150 | ||
151 | /* handle to the local stub resolver request */ | ||
152 | struct GNUNET_RESOLVER_RequestHandle *dns_resolver_handle; | ||
153 | |||
148 | /* select task for DNS */ | 154 | /* select task for DNS */ |
149 | GNUNET_SCHEDULER_TaskIdentifier dns_read_task; | 155 | GNUNET_SCHEDULER_TaskIdentifier dns_read_task; |
150 | 156 | ||
@@ -301,6 +307,7 @@ struct GetPseuAuthorityHandle | |||
301 | * @param nh handle to the namestore | 307 | * @param nh handle to the namestore |
302 | * @param dh handle to the dht | 308 | * @param dh handle to the dht |
303 | * @param lz the local zone | 309 | * @param lz the local zone |
310 | * @param cfg configuration handle | ||
304 | * @param max_bg_queries maximum amount of background queries | 311 | * @param max_bg_queries maximum amount of background queries |
305 | * @param ignore_pending ignore records that still require user confirmation | 312 | * @param ignore_pending ignore records that still require user confirmation |
306 | * on lookup | 313 | * on lookup |
@@ -310,6 +317,7 @@ int | |||
310 | gns_resolver_init(struct GNUNET_NAMESTORE_Handle *nh, | 317 | gns_resolver_init(struct GNUNET_NAMESTORE_Handle *nh, |
311 | struct GNUNET_DHT_Handle *dh, | 318 | struct GNUNET_DHT_Handle *dh, |
312 | struct GNUNET_CRYPTO_ShortHashCode lz, | 319 | struct GNUNET_CRYPTO_ShortHashCode lz, |
320 | const struct GNUNET_CONFIGURATION_Handle *cfg, | ||
313 | unsigned long long max_bg_queries, | 321 | unsigned long long max_bg_queries, |
314 | int ignore_pending); | 322 | int ignore_pending); |
315 | 323 | ||