diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2012-05-09 11:25:44 +0000 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2012-05-09 11:25:44 +0000 |
commit | b4a29413ffa9cf01043a10747498e79455e1aa7f (patch) | |
tree | 521cd4e7ba6191d2b84fcea851a1fea401f6059e /src/gns/gnunet-service-gns_resolver.h | |
parent | 6143cf95a47f8ec7de7898a416557f5034c36b27 (diff) | |
download | gnunet-b4a29413ffa9cf01043a10747498e79455e1aa7f.tar.gz gnunet-b4a29413ffa9cf01043a10747498e79455e1aa7f.zip |
-fixes
Diffstat (limited to 'src/gns/gnunet-service-gns_resolver.h')
-rw-r--r-- | src/gns/gnunet-service-gns_resolver.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gns/gnunet-service-gns_resolver.h b/src/gns/gnunet-service-gns_resolver.h index 44c10fc52..8222397c4 100644 --- a/src/gns/gnunet-service-gns_resolver.h +++ b/src/gns/gnunet-service-gns_resolver.h | |||
@@ -150,6 +150,9 @@ struct ResolverHandle | |||
150 | /* status of the resolution result */ | 150 | /* status of the resolution result */ |
151 | enum ResolutionStatus status; | 151 | enum ResolutionStatus status; |
152 | 152 | ||
153 | /* The provate local zone of this request */ | ||
154 | struct GNUNET_CRYPTO_ShortHashCode private_local_zone; | ||
155 | |||
153 | /** | 156 | /** |
154 | * private key of an/our authoritative zone | 157 | * private key of an/our authoritative zone |
155 | * can be NULL but automatical PKEY import will not work | 158 | * can be NULL but automatical PKEY import will not work |
@@ -276,6 +279,7 @@ gns_resolver_cleanup(ResolverCleanupContinuation cont); | |||
276 | * calls RecordLookupProcessor on result or timeout | 279 | * calls RecordLookupProcessor on result or timeout |
277 | * | 280 | * |
278 | * @param zone the root zone | 281 | * @param zone the root zone |
282 | * @param pzone the private local zone | ||
279 | * @param record_type the record type to look up | 283 | * @param record_type the record type to look up |
280 | * @param name the name to look up | 284 | * @param name the name to look up |
281 | * @param key optional private key for authority caching | 285 | * @param key optional private key for authority caching |
@@ -285,6 +289,7 @@ gns_resolver_cleanup(ResolverCleanupContinuation cont); | |||
285 | */ | 289 | */ |
286 | void | 290 | void |
287 | gns_resolver_lookup_record(struct GNUNET_CRYPTO_ShortHashCode zone, | 291 | gns_resolver_lookup_record(struct GNUNET_CRYPTO_ShortHashCode zone, |
292 | struct GNUNET_CRYPTO_ShortHashCode pzone, | ||
288 | uint32_t record_type, | 293 | uint32_t record_type, |
289 | const char* name, | 294 | const char* name, |
290 | struct GNUNET_CRYPTO_RsaPrivateKey *key, | 295 | struct GNUNET_CRYPTO_RsaPrivateKey *key, |
@@ -300,6 +305,7 @@ gns_resolver_lookup_record(struct GNUNET_CRYPTO_ShortHashCode zone, | |||
300 | * actually be canonical/short etc. | 305 | * actually be canonical/short etc. |
301 | * | 306 | * |
302 | * @param zone the zone to perform the operation in | 307 | * @param zone the zone to perform the operation in |
308 | * @param pzone the private local zone | ||
303 | * @param name name to shorten | 309 | * @param name name to shorten |
304 | * @param key optional private key for background lookups and PSEU import | 310 | * @param key optional private key for background lookups and PSEU import |
305 | * @param proc the processor to call on shorten result | 311 | * @param proc the processor to call on shorten result |
@@ -307,6 +313,7 @@ gns_resolver_lookup_record(struct GNUNET_CRYPTO_ShortHashCode zone, | |||
307 | */ | 313 | */ |
308 | void | 314 | void |
309 | gns_resolver_shorten_name(struct GNUNET_CRYPTO_ShortHashCode zone, | 315 | gns_resolver_shorten_name(struct GNUNET_CRYPTO_ShortHashCode zone, |
316 | struct GNUNET_CRYPTO_ShortHashCode pzone, | ||
310 | const char* name, | 317 | const char* name, |
311 | struct GNUNET_CRYPTO_RsaPrivateKey *key, | 318 | struct GNUNET_CRYPTO_RsaPrivateKey *key, |
312 | ShortenResultProcessor proc, | 319 | ShortenResultProcessor proc, |
@@ -317,12 +324,14 @@ gns_resolver_shorten_name(struct GNUNET_CRYPTO_ShortHashCode zone, | |||
317 | * in our namestore | 324 | * in our namestore |
318 | * | 325 | * |
319 | * @param zone the root zone to look up for | 326 | * @param zone the root zone to look up for |
327 | * @param pzone the private local zone | ||
320 | * @param name the name to lookup up | 328 | * @param name the name to lookup up |
321 | * @param proc the processor to call when finished | 329 | * @param proc the processor to call when finished |
322 | * @param proc_cls the closure to pass to the processor | 330 | * @param proc_cls the closure to pass to the processor |
323 | */ | 331 | */ |
324 | void | 332 | void |
325 | gns_resolver_get_authority(struct GNUNET_CRYPTO_ShortHashCode zone, | 333 | gns_resolver_get_authority(struct GNUNET_CRYPTO_ShortHashCode zone, |
334 | struct GNUNET_CRYPTO_ShortHashCode pzone, | ||
326 | const char* name, | 335 | const char* name, |
327 | GetAuthorityResultProcessor proc, | 336 | GetAuthorityResultProcessor proc, |
328 | void* proc_cls); | 337 | void* proc_cls); |