diff options
author | schanzen <schanzen@140774ce-b5e7-0310-ab8b-a85725594a96> | 2012-07-11 20:24:10 +0000 |
---|---|---|
committer | schanzen <schanzen@140774ce-b5e7-0310-ab8b-a85725594a96> | 2012-07-11 20:24:10 +0000 |
commit | f770142e829309f32fd4845ce6a330f0d5bc83d5 (patch) | |
tree | 6e26c228df433eb017c187bba483e8d74eb843d8 /src/include/gnunet_gns_service.h | |
parent | 2f6d413964623d8a88550212a2b4cc5868c09935 (diff) |
-more api
git-svn-id: https://gnunet.org/svn/gnunet@22613 140774ce-b5e7-0310-ab8b-a85725594a96
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 a138e96f9d..91df6373d3 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, GNUNET_GNS_LookupResultProcessor proc, void *proc_cls); + +/** + * Cancel pending lookup request + * + * @param lr the lookup request to cancel + */ +void +GNUNET_GNS_cancel_lookup_request (struct GNUNET_GNS_LookupRequest *lr); + /* *************** Standard API: shorten ******************* */ @@ -250,6 +259,15 @@ GNUNET_GNS_shorten_zone (struct GNUNET_GNS_Handle *handle, GNUNET_GNS_ShortenResultProcessor proc, void *proc_cls); + +/** + * Cancel pending shorten request + * + * @param sr the lookup request to cancel + */ +void +GNUNET_GNS_cancel_shorten_request (struct GNUNET_GNS_ShortenRequest *sr); + /* *************** Standard API: get authority ******************* */ @@ -279,6 +297,15 @@ GNUNET_GNS_get_authority (struct GNUNET_GNS_Handle *handle, GNUNET_GNS_GetAuthResultProcessor proc, void *proc_cls); + +/** + * Cancel pending get auth request + * + * @param gar the lookup request to cancel + */ +void +GNUNET_GNS_cancel_get_auth_request (struct GNUNET_GNS_GetAuthRequest *gar) + #if 0 /* keep Emacsens' auto-indent happy */ { #endif |