aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_gns_service.h
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2012-07-11 20:24:10 +0000
committerMartin Schanzenbach <mschanzenbach@posteo.de>2012-07-11 20:24:10 +0000
commit829ea8a6c2ee8ac83dcd9874973a9895013837da (patch)
tree6e26c228df433eb017c187bba483e8d74eb843d8 /src/include/gnunet_gns_service.h
parent36785d69da8cb4b309c0b08d065be86a91f870f2 (diff)
downloadgnunet-829ea8a6c2ee8ac83dcd9874973a9895013837da.tar.gz
gnunet-829ea8a6c2ee8ac83dcd9874973a9895013837da.zip
-more api
Diffstat (limited to 'src/include/gnunet_gns_service.h')
-rw-r--r--src/include/gnunet_gns_service.h27
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 */
204void
205GNUNET_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 */
268void
269GNUNET_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 */
306void
307GNUNET_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