-fix api
authorChristian Grothoff <christian@grothoff.org>
Fri, 24 Feb 2012 15:02:10 +0000 (15:02 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 24 Feb 2012 15:02:10 +0000 (15:02 +0000)
src/include/gnunet_namestore_service.h
src/namestore/namestore_api.c

index dac21fbeeb80b1db60879bd74f4b523b68eee2c3..8ab2ce802e947d1209c5bea60faddef1f374a86a 100644 (file)
@@ -166,7 +166,7 @@ struct GNUNET_NAMESTORE_RecordData
  * authorities.
  *
  * @param h handle to the namestore
- * @param zone hash of the public key of the zone
+ * @param zone_key public key of the zone
  * @param name name that is being mapped (at most 255 characters long)
  * @param expire when does the corresponding block in the DHT expire (until
  *               when should we never do a DHT lookup for the same name again)?
@@ -179,7 +179,7 @@ struct GNUNET_NAMESTORE_RecordData
  */
 struct GNUNET_NAMESTORE_QueueEntry *
 GNUNET_NAMESTORE_record_put (struct GNUNET_NAMESTORE_Handle *h,
-                            const GNUNET_HashCode *zone,
+                            const struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded *zone_key,
                             const char *name,
                             struct GNUNET_TIME_Absolute expire,
                             unsigned int rd_count,
index e78814db7f0efd08d12ee543438b151a143e1324..0e269f4aa1130235b9fc74cd1ced806af73733b9 100644 (file)
@@ -515,7 +515,7 @@ GNUNET_NAMESTORE_disconnect (struct GNUNET_NAMESTORE_Handle *nsh, int drop)
  * authorities.
  *
  * @param h handle to the namestore
- * @param zone hash of the public key of the zone
+ * @param zone_key public key of the zone
  * @param name name that is being mapped (at most 255 characters long)
  * @param expire when does the corresponding block in the DHT expire (until
  *               when should we never do a DHT lookup for the same name again)?
@@ -528,7 +528,7 @@ GNUNET_NAMESTORE_disconnect (struct GNUNET_NAMESTORE_Handle *nsh, int drop)
  */
 struct GNUNET_NAMESTORE_QueueEntry *
 GNUNET_NAMESTORE_record_put (struct GNUNET_NAMESTORE_Handle *h,
-                            const GNUNET_HashCode *zone,
+                            const struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded *zone_key,
                             const char *name,
                             struct GNUNET_TIME_Absolute expire,
                             unsigned int rd_count,