diff options
Diffstat (limited to 'src/include/gnunet_gns_service.h')
-rw-r--r-- | src/include/gnunet_gns_service.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/include/gnunet_gns_service.h b/src/include/gnunet_gns_service.h index 5d2b7246a..ef81e9a88 100644 --- a/src/include/gnunet_gns_service.h +++ b/src/include/gnunet_gns_service.h | |||
@@ -147,6 +147,31 @@ GNUNET_GNS_lookup (struct GNUNET_GNS_Handle *handle, | |||
147 | 147 | ||
148 | 148 | ||
149 | /** | 149 | /** |
150 | * Perform an asynchronous lookup operation on the GNS. | ||
151 | * | ||
152 | * @param handle handle to the GNS service | ||
153 | * @param name the name to look up (in UTF-8 encoding) | ||
154 | * @param zone zone to look in | ||
155 | * @param type the GNS record type to look for | ||
156 | * @param options local options for the lookup | ||
157 | * @param recursion_depth_limit maximum number of zones | ||
158 | * that the lookup may (still) traverse | ||
159 | * @param proc function to call on result | ||
160 | * @param proc_cls closure for @a proc | ||
161 | * @return handle to the queued request | ||
162 | */ | ||
163 | struct GNUNET_GNS_LookupRequest * | ||
164 | GNUNET_GNS_lookup_limited (struct GNUNET_GNS_Handle *handle, | ||
165 | const char *name, | ||
166 | const struct GNUNET_CRYPTO_EcdsaPublicKey *zone, | ||
167 | uint32_t type, | ||
168 | enum GNUNET_GNS_LocalOptions options, | ||
169 | uint16_t recursion_depth_limit, | ||
170 | GNUNET_GNS_LookupResultProcessor proc, | ||
171 | void *proc_cls); | ||
172 | |||
173 | |||
174 | /** | ||
150 | * Cancel pending lookup request | 175 | * Cancel pending lookup request |
151 | * | 176 | * |
152 | * @param lr the lookup request to cancel | 177 | * @param lr the lookup request to cancel |