From: Christian Grothoff Date: Fri, 24 Feb 2012 15:02:10 +0000 (+0000) Subject: -fix api X-Git-Tag: initial-import-from-subversion-38251~14664 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=49f154e0fddb88077d5543e87b5cc21e6634abe1;p=oweals%2Fgnunet.git -fix api --- diff --git a/src/include/gnunet_namestore_service.h b/src/include/gnunet_namestore_service.h index dac21fbee..8ab2ce802 100644 --- a/src/include/gnunet_namestore_service.h +++ b/src/include/gnunet_namestore_service.h @@ -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, diff --git a/src/namestore/namestore_api.c b/src/namestore/namestore_api.c index e78814db7..0e269f4aa 100644 --- a/src/namestore/namestore_api.c +++ b/src/namestore/namestore_api.c @@ -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,