diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-08-13 21:07:54 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-08-13 21:07:54 +0000 |
commit | 9b87e5d8f6b762cc8fd4625b7dd369e36722978c (patch) | |
tree | 43f5d336224f1513733acea0253e3098520e771d /src/gns/gnunet-service-gns_resolver.h | |
parent | 4c0d35b75913b66abfd69a4f1d76cd0000d1a9ec (diff) | |
download | gnunet-9b87e5d8f6b762cc8fd4625b7dd369e36722978c.tar.gz gnunet-9b87e5d8f6b762cc8fd4625b7dd369e36722978c.zip |
-more work on new GNS implementation
Diffstat (limited to 'src/gns/gnunet-service-gns_resolver.h')
-rw-r--r-- | src/gns/gnunet-service-gns_resolver.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/gns/gnunet-service-gns_resolver.h b/src/gns/gnunet-service-gns_resolver.h index bc83b6b3d..7ee545e2b 100644 --- a/src/gns/gnunet-service-gns_resolver.h +++ b/src/gns/gnunet-service-gns_resolver.h | |||
@@ -36,16 +36,12 @@ | |||
36 | * @param dht handle to the dht | 36 | * @param dht handle to the dht |
37 | * @param c configuration handle | 37 | * @param c configuration handle |
38 | * @param max_bg_queries maximum amount of background queries | 38 | * @param max_bg_queries maximum amount of background queries |
39 | * @param ignore_pending ignore records that still require user confirmation | ||
40 | * on lookup | ||
41 | * @returns GNUNET_OK on success | ||
42 | */ | 39 | */ |
43 | int | 40 | void |
44 | GNS_resolver_init (struct GNUNET_NAMESTORE_Handle *nh, | 41 | GNS_resolver_init (struct GNUNET_NAMESTORE_Handle *nh, |
45 | struct GNUNET_DHT_Handle *dht, | 42 | struct GNUNET_DHT_Handle *dht, |
46 | const struct GNUNET_CONFIGURATION_Handle *c, | 43 | const struct GNUNET_CONFIGURATION_Handle *c, |
47 | unsigned long long max_bg_queries, | 44 | unsigned long long max_bg_queries); |
48 | int ignore_pending); | ||
49 | 45 | ||
50 | 46 | ||
51 | /** | 47 | /** |
@@ -84,6 +80,7 @@ typedef void (*GNS_ResultProcessor)(void *cls, | |||
84 | * @param only_cached GNUNET_NO to only check locally not DHT for performance | 80 | * @param only_cached GNUNET_NO to only check locally not DHT for performance |
85 | * @param proc the processor to call | 81 | * @param proc the processor to call |
86 | * @param proc_cls the closure to pass to @a proc | 82 | * @param proc_cls the closure to pass to @a proc |
83 | * @return handle to cancel operation | ||
87 | */ | 84 | */ |
88 | struct GNS_ResolverHandle * | 85 | struct GNS_ResolverHandle * |
89 | GNS_resolver_lookup (const struct GNUNET_CRYPTO_EccPublicKey *zone, | 86 | GNS_resolver_lookup (const struct GNUNET_CRYPTO_EccPublicKey *zone, |