aboutsummaryrefslogtreecommitdiff
path: root/src/gns/gnunet-service-gns_interceptor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gns/gnunet-service-gns_interceptor.h')
-rw-r--r--src/gns/gnunet-service-gns_interceptor.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/gns/gnunet-service-gns_interceptor.h b/src/gns/gnunet-service-gns_interceptor.h
index a1da4938b..92a154e2c 100644
--- a/src/gns/gnunet-service-gns_interceptor.h
+++ b/src/gns/gnunet-service-gns_interceptor.h
@@ -27,23 +27,22 @@
27 27
28#include "gnunet_util_lib.h" 28#include "gnunet_util_lib.h"
29 29
30
30/** 31/**
31 * Initialize dns interceptor 32 * Initialize DNS interceptor
32 * 33 *
33 * @param zone the zone 34 * @param gnu_zone the zone we start lookups in
34 * @param key the private key of the local zone
35 * @param c the configuration 35 * @param c the configuration
36 * @return GNUNET_YES on success GNUNET_SYSERR on error 36 * @return GNUNET_YES on success GNUNET_SYSERR on error
37 */ 37 */
38int 38int
39gns_interceptor_init (struct GNUNET_CRYPTO_ShortHashCode zone, 39GNS_interceptor_init (const struct GNUNET_CRYPTO_EccPublicKey *gnu_zone,
40 struct GNUNET_CRYPTO_EccPrivateKey *key,
41 const struct GNUNET_CONFIGURATION_Handle *c); 40 const struct GNUNET_CONFIGURATION_Handle *c);
42 41
43/** 42/**
44 * Stops the interceptor 43 * Stops the interceptor
45 */ 44 */
46void 45void
47gns_interceptor_stop (void); 46GNS_interceptor_done (void);
48 47
49#endif 48#endif