More W32 resolver workarounds
[oweals/gnunet.git] / src / include / gnunet_gns_service.h
index d9aad6d773a7f533aeb963b32beb3724b7e24518..36ca0ab5e81de2e9adaa4ef1736d1fab12da73d5 100644 (file)
@@ -84,7 +84,7 @@ GNUNET_GNS_disconnect (struct GNUNET_GNS_Handle *handle);
  */
 typedef void (*GNUNET_GNS_LookupResultProcessor) (void *cls,
                                                  uint32_t rd_count,
-                                                 const struct GNUNET_NAMESTORE_RecordData *rd);
+                                                 const struct GNUNET_GNSRECORD_Data *rd);
 
 
 /**
@@ -94,7 +94,7 @@ typedef void (*GNUNET_GNS_LookupResultProcessor) (void *cls,
  * @param name the name to look up
  * @param zone zone to look in
  * @param type the GNS record type to look for
- * @param only_cached #GNUNET_NO to only check locally (not in the DHT)
+ * @param only_cached #GNUNET_YES to only check locally (not in the DHT)
  * @param shorten_zone_key the private key of the shorten zone (can be NULL);
  *                    specify to enable automatic shortening (given a PSEU
  *                    record, if a given pseudonym is not yet used in the
@@ -104,13 +104,13 @@ typedef void (*GNUNET_GNS_LookupResultProcessor) (void *cls,
  * @param proc_cls closure for processor
  * @return handle to the queued request
  */
-struct GNUNET_GNS_LookupRequest*
+struct GNUNET_GNS_LookupRequest *
 GNUNET_GNS_lookup (struct GNUNET_GNS_Handle *handle,
                   const char *name,
-                  const struct GNUNET_CRYPTO_EccPublicKey *zone,
+                  const struct GNUNET_CRYPTO_EcdsaPublicKey *zone,
                   int type,
                   int only_cached,
-                  struct GNUNET_CRYPTO_EccPrivateKey *shorten_zone_key,
+                  const struct GNUNET_CRYPTO_EcdsaPrivateKey *shorten_zone_key,
                   GNUNET_GNS_LookupResultProcessor proc,
                   void *proc_cls);
 
@@ -121,7 +121,7 @@ GNUNET_GNS_lookup (struct GNUNET_GNS_Handle *handle,
  * @param lr the lookup request to cancel
  */
 void
-GNUNET_GNS_cancel_lookup_request (struct GNUNET_GNS_LookupRequest *lr);
+GNUNET_GNS_lookup_cancel (struct GNUNET_GNS_LookupRequest *lr);
 
 
 #if 0                           /* keep Emacsens' auto-indent happy */