diff options
Diffstat (limited to 'src/gns/gnunet-service-gns_resolver.h')
-rw-r--r-- | src/gns/gnunet-service-gns_resolver.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/gns/gnunet-service-gns_resolver.h b/src/gns/gnunet-service-gns_resolver.h index 8865f3c95..cc918fd90 100644 --- a/src/gns/gnunet-service-gns_resolver.h +++ b/src/gns/gnunet-service-gns_resolver.h | |||
@@ -39,17 +39,17 @@ | |||
39 | * @param max_bg_queries maximum amount of background queries | 39 | * @param max_bg_queries maximum amount of background queries |
40 | */ | 40 | */ |
41 | void | 41 | void |
42 | GNS_resolver_init(struct GNUNET_NAMECACHE_Handle *nc, | 42 | GNS_resolver_init (struct GNUNET_NAMECACHE_Handle *nc, |
43 | struct GNUNET_DHT_Handle *dht, | 43 | struct GNUNET_DHT_Handle *dht, |
44 | const struct GNUNET_CONFIGURATION_Handle *c, | 44 | const struct GNUNET_CONFIGURATION_Handle *c, |
45 | unsigned long long max_bg_queries); | 45 | unsigned long long max_bg_queries); |
46 | 46 | ||
47 | 47 | ||
48 | /** | 48 | /** |
49 | * Cleanup resolver: Terminate pending lookups | 49 | * Cleanup resolver: Terminate pending lookups |
50 | */ | 50 | */ |
51 | void | 51 | void |
52 | GNS_resolver_done(void); | 52 | GNS_resolver_done (void); |
53 | 53 | ||
54 | 54 | ||
55 | /** | 55 | /** |
@@ -84,12 +84,12 @@ typedef void | |||
84 | * @return handle to cancel operation | 84 | * @return handle to cancel operation |
85 | */ | 85 | */ |
86 | struct GNS_ResolverHandle * | 86 | struct GNS_ResolverHandle * |
87 | GNS_resolver_lookup(const struct GNUNET_CRYPTO_EcdsaPublicKey *zone, | 87 | GNS_resolver_lookup (const struct GNUNET_CRYPTO_EcdsaPublicKey *zone, |
88 | uint32_t record_type, | 88 | uint32_t record_type, |
89 | const char *name, | 89 | const char *name, |
90 | enum GNUNET_GNS_LocalOptions options, | 90 | enum GNUNET_GNS_LocalOptions options, |
91 | GNS_ResultProcessor proc, | 91 | GNS_ResultProcessor proc, |
92 | void *proc_cls); | 92 | void *proc_cls); |
93 | 93 | ||
94 | 94 | ||
95 | /** | 95 | /** |
@@ -98,6 +98,6 @@ GNS_resolver_lookup(const struct GNUNET_CRYPTO_EcdsaPublicKey *zone, | |||
98 | * @param rh resolution to abort | 98 | * @param rh resolution to abort |
99 | */ | 99 | */ |
100 | void | 100 | void |
101 | GNS_resolver_lookup_cancel(struct GNS_ResolverHandle *rh); | 101 | GNS_resolver_lookup_cancel (struct GNS_ResolverHandle *rh); |
102 | 102 | ||
103 | #endif | 103 | #endif |