gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r20009 - in gnunet/src: include namestore


From: gnunet
Subject: [GNUnet-SVN] r20009 - in gnunet/src: include namestore
Date: Fri, 24 Feb 2012 16:02:10 +0100

Author: grothoff
Date: 2012-02-24 16:02:10 +0100 (Fri, 24 Feb 2012)
New Revision: 20009

Modified:
   gnunet/src/include/gnunet_namestore_service.h
   gnunet/src/namestore/namestore_api.c
Log:
-fix api

Modified: gnunet/src/include/gnunet_namestore_service.h
===================================================================
--- gnunet/src/include/gnunet_namestore_service.h       2012-02-24 14:33:06 UTC 
(rev 20008)
+++ gnunet/src/include/gnunet_namestore_service.h       2012-02-24 15:02:10 UTC 
(rev 20009)
@@ -166,7 +166,7 @@
  * 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_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,

Modified: gnunet/src/namestore/namestore_api.c
===================================================================
--- gnunet/src/namestore/namestore_api.c        2012-02-24 14:33:06 UTC (rev 
20008)
+++ gnunet/src/namestore/namestore_api.c        2012-02-24 15:02:10 UTC (rev 
20009)
@@ -515,7 +515,7 @@
  * 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 @@
  */
 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,




reply via email to

[Prev in Thread] Current Thread [Next in Thread]