#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);
*/
typedef void (*GNS_ResultProcessor)(void *cls,
uint32_t rd_count,
- const struct GNUNET_NAMESTORE_RecordData *rd);
+ const struct GNUNET_GNSRECORD_Data *rd);
/**