diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-08-13 19:14:19 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-08-13 19:14:19 +0000 |
commit | 5f5f1974b15c646bde44583aede2433254138661 (patch) | |
tree | 6197cc994723c804e261ff15c9a04e800f3988ee /src/gns/gnunet-service-gns_interceptor.h | |
parent | adc6e4a5804d4cb43516383ff1d97065df0d0fd9 (diff) | |
download | gnunet-5f5f1974b15c646bde44583aede2433254138661.tar.gz gnunet-5f5f1974b15c646bde44583aede2433254138661.zip |
-more coding towards working new GNS service
Diffstat (limited to 'src/gns/gnunet-service-gns_interceptor.h')
-rw-r--r-- | src/gns/gnunet-service-gns_interceptor.h | 11 |
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 | */ |
38 | int | 38 | int |
39 | gns_interceptor_init (struct GNUNET_CRYPTO_ShortHashCode zone, | 39 | GNS_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 | */ |
46 | void | 45 | void |
47 | gns_interceptor_stop (void); | 46 | GNS_interceptor_done (void); |
48 | 47 | ||
49 | #endif | 48 | #endif |