From 49f154e0fddb88077d5543e87b5cc21e6634abe1 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 24 Feb 2012 15:02:10 +0000 Subject: [PATCH] -fix api --- src/include/gnunet_namestore_service.h | 4 ++-- src/namestore/namestore_api.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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, -- 2.25.1