fix only cache variable long/short
[oweals/gnunet.git] / src / gns / gnunet-service-gns_resolver.h
index 06273766a66f1603173a979d3a7a0ee2db0a30d0..ffb7142a76d8c9239e2423ec9000d2d60eec3629 100644 (file)
 #define GNS_RESOLVER_H
 #include "gns.h"
 #include "gnunet_dht_service.h"
-
+#include "gnunet_namecache_service.h"
 
 /**
  * Initialize the resolver subsystem.
  * MUST be called before #GNS_resolver_lookup.
  *
- * @param nh handle to the namestore
+ * @param nc the namecache handle
  * @param dht handle to the dht
  * @param c configuration handle
  * @param max_bg_queries maximum amount of background queries
  */
 void
-GNS_resolver_init (struct GNUNET_NAMESTORE_Handle *nh,
+GNS_resolver_init (struct GNUNET_NAMECACHE_Handle *nc,
                   struct GNUNET_DHT_Handle *dht,
                   const struct GNUNET_CONFIGURATION_Handle *c,
                   unsigned long long max_bg_queries);
@@ -66,7 +66,7 @@ struct GNS_ResolverHandle;
  */
 typedef void (*GNS_ResultProcessor)(void *cls,
                                    uint32_t rd_count,
-                                   const struct GNUNET_NAMESTORE_RecordData *rd);
+                                   const struct GNUNET_GNSRECORD_Data *rd);
 
 
 /**