diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-06-21 08:25:32 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-06-21 08:25:32 +0200 |
commit | 336159b59453619dfc9cad5e860462c594785dd9 (patch) | |
tree | ee1452c1f1f18f44365a8a4b541280c9d963e4fc /src/include/gnunet_gns_service.h | |
parent | 4c7eae3c88bed613fb365920812dc60e0e364ee4 (diff) | |
download | gnunet-336159b59453619dfc9cad5e860462c594785dd9.tar.gz gnunet-336159b59453619dfc9cad5e860462c594785dd9.zip |
make GNS cancel APIs return closure, can be convenient
Diffstat (limited to 'src/include/gnunet_gns_service.h')
-rw-r--r-- | src/include/gnunet_gns_service.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/include/gnunet_gns_service.h b/src/include/gnunet_gns_service.h index 13f920937..b6fac6111 100644 --- a/src/include/gnunet_gns_service.h +++ b/src/include/gnunet_gns_service.h | |||
@@ -150,8 +150,9 @@ GNUNET_GNS_lookup (struct GNUNET_GNS_Handle *handle, | |||
150 | * Cancel pending lookup request | 150 | * Cancel pending lookup request |
151 | * | 151 | * |
152 | * @param lr the lookup request to cancel | 152 | * @param lr the lookup request to cancel |
153 | * @return closure from the lookup result processor | ||
153 | */ | 154 | */ |
154 | void | 155 | void * |
155 | GNUNET_GNS_lookup_cancel (struct GNUNET_GNS_LookupRequest *lr); | 156 | GNUNET_GNS_lookup_cancel (struct GNUNET_GNS_LookupRequest *lr); |
156 | 157 | ||
157 | 158 | ||
@@ -198,8 +199,9 @@ GNUNET_GNS_lookup_with_tld (struct GNUNET_GNS_Handle *handle, | |||
198 | * Cancel pending lookup request | 199 | * Cancel pending lookup request |
199 | * | 200 | * |
200 | * @param ltr the lookup request to cancel | 201 | * @param ltr the lookup request to cancel |
202 | * @return closure from the lookup result processor | ||
201 | */ | 203 | */ |
202 | void | 204 | void * |
203 | GNUNET_GNS_lookup_with_tld_cancel (struct GNUNET_GNS_LookupWithTldRequest *ltr); | 205 | GNUNET_GNS_lookup_with_tld_cancel (struct GNUNET_GNS_LookupWithTldRequest *ltr); |
204 | 206 | ||
205 | 207 | ||