summaryrefslogtreecommitdiff
path: root/src/gns/gnunet-service-gns_resolver.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gns/gnunet-service-gns_resolver.h')
-rw-r--r--src/gns/gnunet-service-gns_resolver.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/gns/gnunet-service-gns_resolver.h b/src/gns/gnunet-service-gns_resolver.h
index 240747931..8865f3c95 100644
--- a/src/gns/gnunet-service-gns_resolver.h
+++ b/src/gns/gnunet-service-gns_resolver.h
@@ -11,12 +11,12 @@
11 WITHOUT ANY WARRANTY; without even the implied warranty of 11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Affero General Public License for more details. 13 Affero General Public License for more details.
14 14
15 You should have received a copy of the GNU Affero General Public License 15 You should have received a copy of the GNU Affero General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>. 16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18 SPDX-License-Identifier: AGPL3.0-or-later 18 SPDX-License-Identifier: AGPL3.0-or-later
19*/ 19 */
20/** 20/**
21 * @file gns/gnunet-service-gns_resolver.h 21 * @file gns/gnunet-service-gns_resolver.h
22 * @brief GNUnet GNS service 22 * @brief GNUnet GNS service
@@ -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 */
41void 41void
42GNS_resolver_init (struct GNUNET_NAMECACHE_Handle *nc, 42GNS_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 */
51void 51void
52GNS_resolver_done (void); 52GNS_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 */
86struct GNS_ResolverHandle * 86struct GNS_ResolverHandle *
87GNS_resolver_lookup (const struct GNUNET_CRYPTO_EcdsaPublicKey *zone, 87GNS_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 */
100void 100void
101GNS_resolver_lookup_cancel (struct GNS_ResolverHandle *rh); 101GNS_resolver_lookup_cancel(struct GNS_ResolverHandle *rh);
102 102
103#endif 103#endif