diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2012-03-23 15:45:03 +0000 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2012-03-23 15:45:03 +0000 |
commit | 70609a63e2de68659c4c7caf17f605bbf7451562 (patch) | |
tree | 1f4692bfdf5dd68997524d0f331951cd184616b4 /src/gns/gnunet-service-gns_resolver.h | |
parent | 3a5d694060acf3fddfd276c17282c338fb002417 (diff) | |
download | gnunet-70609a63e2de68659c4c7caf17f605bbf7451562.tar.gz gnunet-70609a63e2de68659c4c7caf17f605bbf7451562.zip |
-fix
Diffstat (limited to 'src/gns/gnunet-service-gns_resolver.h')
-rw-r--r-- | src/gns/gnunet-service-gns_resolver.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gns/gnunet-service-gns_resolver.h b/src/gns/gnunet-service-gns_resolver.h index a63abab9d..7290e927c 100644 --- a/src/gns/gnunet-service-gns_resolver.h +++ b/src/gns/gnunet-service-gns_resolver.h | |||
@@ -35,6 +35,10 @@ struct AuthorityChain | |||
35 | /* handle to a resolution process */ | 35 | /* handle to a resolution process */ |
36 | struct ResolverHandle; | 36 | struct ResolverHandle; |
37 | 37 | ||
38 | /** | ||
39 | * continuation called when cleanup of resolver finishes | ||
40 | */ | ||
41 | typedef void (*ResolverCleanupContinuation) (void); | ||
38 | 42 | ||
39 | /** | 43 | /** |
40 | * processor for a resultion result | 44 | * processor for a resultion result |
@@ -256,9 +260,11 @@ gns_resolver_init(struct GNUNET_NAMESTORE_Handle *nh, | |||
256 | 260 | ||
257 | /** | 261 | /** |
258 | * Cleanup resolver: Terminate pending lookups | 262 | * Cleanup resolver: Terminate pending lookups |
263 | * | ||
264 | * @param cont continuation to call when finished | ||
259 | */ | 265 | */ |
260 | void | 266 | void |
261 | gns_resolver_cleanup(void); | 267 | gns_resolver_cleanup(ResolverCleanupContinuation cont); |
262 | 268 | ||
263 | /** | 269 | /** |
264 | * Lookup of a record in a specific zone | 270 | * Lookup of a record in a specific zone |