1 #ifndef GNUNET_GNS_INTERCEPTOR_H
2 #define GNUNET_GNS_INTERCEPTOR_H
5 * Initialize dns interceptor
8 * @param key the private key of the local zone
9 * @param c the configuration
10 * @return GNUNET_YES on success GNUNET_SYSERR on error
13 gns_interceptor_init(struct GNUNET_CRYPTO_ShortHashCode zone,
14 struct GNUNET_CRYPTO_RsaPrivateKey *key,
15 const struct GNUNET_CONFIGURATION_Handle *c);
18 * Stops the interceptor
21 gns_interceptor_stop(void);