diff options
Diffstat (limited to 'src/gns/gnunet-service-gns_resolver.c')
-rw-r--r-- | src/gns/gnunet-service-gns_resolver.c | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/src/gns/gnunet-service-gns_resolver.c b/src/gns/gnunet-service-gns_resolver.c index c4d06e410..2bdc1bc2b 100644 --- a/src/gns/gnunet-service-gns_resolver.c +++ b/src/gns/gnunet-service-gns_resolver.c | |||
@@ -350,6 +350,7 @@ process_zone_to_name_discover(void *cls, | |||
350 | * | 350 | * |
351 | * @param name the name given by delegation | 351 | * @param name the name given by delegation |
352 | * @param zone the authority | 352 | * @param zone the authority |
353 | * @param our_zone our local zone | ||
353 | * @param the private key of our authority | 354 | * @param the private key of our authority |
354 | */ | 355 | */ |
355 | static void process_discovered_authority(char* name, | 356 | static void process_discovered_authority(char* name, |
@@ -384,6 +385,7 @@ static void process_discovered_authority(char* name, | |||
384 | * | 385 | * |
385 | * @param nh the namestore handle | 386 | * @param nh the namestore handle |
386 | * @param dh the dht handle | 387 | * @param dh the dht handle |
388 | * @param lz the local zone's hash | ||
387 | * @return GNUNET_OK on success | 389 | * @return GNUNET_OK on success |
388 | */ | 390 | */ |
389 | int | 391 | int |
@@ -408,6 +410,12 @@ gns_resolver_init(struct GNUNET_NAMESTORE_Handle *nh, | |||
408 | 410 | ||
409 | /** | 411 | /** |
410 | * Cleanup background lookups | 412 | * Cleanup background lookups |
413 | * | ||
414 | * @param cks closure to iterator | ||
415 | * @param node heap nodes | ||
416 | * @param element the resolver handle | ||
417 | * @param cost heap cost | ||
418 | * @return always GNUNET_YES | ||
411 | */ | 419 | */ |
412 | static int | 420 | static int |
413 | cleanup_pending_background_queries(void* cls, | 421 | cleanup_pending_background_queries(void* cls, |
@@ -445,7 +453,7 @@ gns_resolver_cleanup() | |||
445 | /** | 453 | /** |
446 | * Helper function to free resolver handle | 454 | * Helper function to free resolver handle |
447 | * | 455 | * |
448 | * @rh the handle to free | 456 | * @param rh the handle to free |
449 | */ | 457 | */ |
450 | static void | 458 | static void |
451 | free_resolver_handle(struct ResolverHandle* rh) | 459 | free_resolver_handle(struct ResolverHandle* rh) |
@@ -871,8 +879,9 @@ process_record_result_ns(void* cls, | |||
871 | return; | 879 | return; |
872 | } | 880 | } |
873 | 881 | ||
874 | GNUNET_log(GNUNET_ERROR_TYPE_DEBUG, "Found %d answer(s) to query!\n", | 882 | GNUNET_log(GNUNET_ERROR_TYPE_DEBUG, |
875 | rh->answered); | 883 | "Found %d answer(s) to query in %d records!\n", |
884 | rh->answered, rd_count); | ||
876 | 885 | ||
877 | rh->proc(rh->proc_cls, rh, rd_count, rd); | 886 | rh->proc(rh->proc_cls, rh, rd_count, rd); |
878 | } | 887 | } |
@@ -1406,6 +1415,7 @@ pop_tld(char* name, char* dest) | |||
1406 | * Checks if name is in tld | 1415 | * Checks if name is in tld |
1407 | * | 1416 | * |
1408 | * @param name the name to check | 1417 | * @param name the name to check |
1418 | * @param tld the TLD to check for | ||
1409 | * @return GNUNET_YES or GNUNET_NO | 1419 | * @return GNUNET_YES or GNUNET_NO |
1410 | */ | 1420 | */ |
1411 | int | 1421 | int |
@@ -1804,6 +1814,8 @@ resolve_delegation_ns(struct ResolverHandle *rh) | |||
1804 | * @param zone the root zone | 1814 | * @param zone the root zone |
1805 | * @param record_type the record type to look up | 1815 | * @param record_type the record type to look up |
1806 | * @param name the name to look up | 1816 | * @param name the name to look up |
1817 | * @param key a private key for use with PSEU import (can be NULL) | ||
1818 | * @param timeout timeout for resolution | ||
1807 | * @param proc the processor to call on result | 1819 | * @param proc the processor to call on result |
1808 | * @param cls the closure to pass to proc | 1820 | * @param cls the closure to pass to proc |
1809 | */ | 1821 | */ |