diff options
Diffstat (limited to 'src/include/gnunet_gns_service.h')
-rw-r--r-- | src/include/gnunet_gns_service.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/include/gnunet_gns_service.h b/src/include/gnunet_gns_service.h index a138e96f9..91df6373d 100644 --- a/src/include/gnunet_gns_service.h +++ b/src/include/gnunet_gns_service.h | |||
@@ -195,6 +195,15 @@ GNUNET_GNS_lookup_zone (struct GNUNET_GNS_Handle *handle, | |||
195 | GNUNET_GNS_LookupResultProcessor proc, | 195 | GNUNET_GNS_LookupResultProcessor proc, |
196 | void *proc_cls); | 196 | void *proc_cls); |
197 | 197 | ||
198 | |||
199 | /** | ||
200 | * Cancel pending lookup request | ||
201 | * | ||
202 | * @param lr the lookup request to cancel | ||
203 | */ | ||
204 | void | ||
205 | GNUNET_GNS_cancel_lookup_request (struct GNUNET_GNS_LookupRequest *lr); | ||
206 | |||
198 | /* *************** Standard API: shorten ******************* */ | 207 | /* *************** Standard API: shorten ******************* */ |
199 | 208 | ||
200 | 209 | ||
@@ -250,6 +259,15 @@ GNUNET_GNS_shorten_zone (struct GNUNET_GNS_Handle *handle, | |||
250 | GNUNET_GNS_ShortenResultProcessor proc, | 259 | GNUNET_GNS_ShortenResultProcessor proc, |
251 | void *proc_cls); | 260 | void *proc_cls); |
252 | 261 | ||
262 | |||
263 | /** | ||
264 | * Cancel pending shorten request | ||
265 | * | ||
266 | * @param sr the lookup request to cancel | ||
267 | */ | ||
268 | void | ||
269 | GNUNET_GNS_cancel_shorten_request (struct GNUNET_GNS_ShortenRequest *sr); | ||
270 | |||
253 | /* *************** Standard API: get authority ******************* */ | 271 | /* *************** Standard API: get authority ******************* */ |
254 | 272 | ||
255 | 273 | ||
@@ -279,6 +297,15 @@ GNUNET_GNS_get_authority (struct GNUNET_GNS_Handle *handle, | |||
279 | GNUNET_GNS_GetAuthResultProcessor proc, | 297 | GNUNET_GNS_GetAuthResultProcessor proc, |
280 | void *proc_cls); | 298 | void *proc_cls); |
281 | 299 | ||
300 | |||
301 | /** | ||
302 | * Cancel pending get auth request | ||
303 | * | ||
304 | * @param gar the lookup request to cancel | ||
305 | */ | ||
306 | void | ||
307 | GNUNET_GNS_cancel_get_auth_request (struct GNUNET_GNS_GetAuthRequest *gar) | ||
308 | |||
282 | #if 0 /* keep Emacsens' auto-indent happy */ | 309 | #if 0 /* keep Emacsens' auto-indent happy */ |
283 | { | 310 | { |
284 | #endif | 311 | #endif |