diff options
Diffstat (limited to 'src/gns/gnunet-service-gns_resolver.h')
-rw-r--r-- | src/gns/gnunet-service-gns_resolver.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/gns/gnunet-service-gns_resolver.h b/src/gns/gnunet-service-gns_resolver.h index 863398093..c71d3983d 100644 --- a/src/gns/gnunet-service-gns_resolver.h +++ b/src/gns/gnunet-service-gns_resolver.h | |||
@@ -65,9 +65,10 @@ struct GNS_ResolverHandle; | |||
65 | * @param rd_count number of records in @a rd | 65 | * @param rd_count number of records in @a rd |
66 | * @param rd records returned for the lookup | 66 | * @param rd records returned for the lookup |
67 | */ | 67 | */ |
68 | typedef void (*GNS_ResultProcessor)(void *cls, | 68 | typedef void |
69 | uint32_t rd_count, | 69 | (*GNS_ResultProcessor)(void *cls, |
70 | const struct GNUNET_GNSRECORD_Data *rd); | 70 | uint32_t rd_count, |
71 | const struct GNUNET_GNSRECORD_Data *rd); | ||
71 | 72 | ||
72 | 73 | ||
73 | /** | 74 | /** |
@@ -77,7 +78,6 @@ typedef void (*GNS_ResultProcessor)(void *cls, | |||
77 | * @param zone the zone to perform the lookup in | 78 | * @param zone the zone to perform the lookup in |
78 | * @param record_type the record type to look up | 79 | * @param record_type the record type to look up |
79 | * @param name the name to look up | 80 | * @param name the name to look up |
80 | * @param shorten_key optional private key for authority caching, can be NULL | ||
81 | * @param options options set to control local lookup | 81 | * @param options options set to control local lookup |
82 | * @param proc the processor to call | 82 | * @param proc the processor to call |
83 | * @param proc_cls the closure to pass to @a proc | 83 | * @param proc_cls the closure to pass to @a proc |
@@ -87,7 +87,6 @@ struct GNS_ResolverHandle * | |||
87 | GNS_resolver_lookup (const struct GNUNET_CRYPTO_EcdsaPublicKey *zone, | 87 | GNS_resolver_lookup (const struct GNUNET_CRYPTO_EcdsaPublicKey *zone, |
88 | uint32_t record_type, | 88 | uint32_t record_type, |
89 | const char *name, | 89 | const char *name, |
90 | const struct GNUNET_CRYPTO_EcdsaPrivateKey *shorten_key, | ||
91 | enum GNUNET_GNS_LocalOptions options, | 90 | enum GNUNET_GNS_LocalOptions options, |
92 | GNS_ResultProcessor proc, | 91 | GNS_ResultProcessor proc, |
93 | void *proc_cls); | 92 | void *proc_cls); |
@@ -102,8 +101,6 @@ void | |||
102 | GNS_resolver_lookup_cancel (struct GNS_ResolverHandle *rh); | 101 | GNS_resolver_lookup_cancel (struct GNS_ResolverHandle *rh); |
103 | 102 | ||
104 | 103 | ||
105 | |||
106 | |||
107 | /** | 104 | /** |
108 | * Generic function to check for TLDs. Checks if "name" ends in ".tld" | 105 | * Generic function to check for TLDs. Checks if "name" ends in ".tld" |
109 | * | 106 | * |