-more coding towards working new GNS service
[oweals/gnunet.git] / src / gns / gnunet-service-gns_interceptor.h
index a1da4938b21496b97c42cf8447f725b9405c46be..92a154e2c8b822984685a849477313e887e1efcb 100644 (file)
 
 #include "gnunet_util_lib.h"
 
+
 /**
- * Initialize dns interceptor
+ * Initialize DNS interceptor
  *
- * @param zone the zone
- * @param key the private key of the local zone
+ * @param gnu_zone the zone we start lookups in
  * @param c the configuration
  * @return GNUNET_YES on success GNUNET_SYSERR on error
  */
 int
-gns_interceptor_init (struct GNUNET_CRYPTO_ShortHashCode zone,
-                     struct GNUNET_CRYPTO_EccPrivateKey *key,
+GNS_interceptor_init (const struct GNUNET_CRYPTO_EccPublicKey *gnu_zone,
                      const struct GNUNET_CONFIGURATION_Handle *c);
 
 /**
  * Stops the interceptor
  */
 void
-gns_interceptor_stop (void);
+GNS_interceptor_done (void);
 
 #endif