From accfd6bd85274da2f19e7230c8da6b273cfb2ece Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 16 Oct 2013 20:21:27 +0000 Subject: -another renaming fest for GNUNET_NAMESTORE_ to GNUNET_GNSRECORD_ symbols that were moved --- src/namestore/gnunet-namestore-fcfsd.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/namestore/gnunet-namestore-fcfsd.c') diff --git a/src/namestore/gnunet-namestore-fcfsd.c b/src/namestore/gnunet-namestore-fcfsd.c index 701cdd558..198d0a9dc 100644 --- a/src/namestore/gnunet-namestore-fcfsd.c +++ b/src/namestore/gnunet-namestore-fcfsd.c @@ -246,7 +246,7 @@ iterate_cb (void *cls, const struct GNUNET_CRYPTO_EcdsaPrivateKey *zone_key, const char *name, unsigned int rd_len, - const struct GNUNET_NAMESTORE_RecordData *rd) + const struct GNUNET_GNSRECORD_Data *rd) { struct ZoneinfoRequest *zr = cls; struct MHD_Response *response; @@ -508,10 +508,10 @@ zone_to_name_cb (void *cls, const struct GNUNET_CRYPTO_EcdsaPrivateKey *zone_key, const char *name, unsigned int rd_count, - const struct GNUNET_NAMESTORE_RecordData *rd) + const struct GNUNET_GNSRECORD_Data *rd) { struct Request *request = cls; - struct GNUNET_NAMESTORE_RecordData r; + struct GNUNET_GNSRECORD_Data r; struct GNUNET_CRYPTO_EcdsaPublicKey pub; request->qe = NULL; @@ -530,7 +530,7 @@ zone_to_name_cb (void *cls, r.data_size = sizeof (pub); r.expiration_time = UINT64_MAX; r.record_type = GNUNET_GNSRECORD_TYPE_PKEY; - r.flags = GNUNET_NAMESTORE_RF_NONE; + r.flags = GNUNET_GNSRECORD_RF_NONE; request->qe = GNUNET_NAMESTORE_records_store (ns, &fcfs_zone_pkey, request->domain_name, @@ -552,7 +552,7 @@ zone_to_name_cb (void *cls, static void lookup_result_processor (void *cls, unsigned int rd_count, - const struct GNUNET_NAMESTORE_RecordData *rd) + const struct GNUNET_GNSRECORD_Data *rd) { struct Request *request = cls; struct GNUNET_CRYPTO_EcdsaPublicKey pub; @@ -594,7 +594,7 @@ lookup_result_processor (void *cls, */ static void lookup_block_processor (void *cls, - const struct GNUNET_NAMESTORE_Block *block) + const struct GNUNET_GNSRECORD_Block *block) { struct Request *request = cls; struct GNUNET_CRYPTO_EcdsaPublicKey pub; @@ -608,7 +608,7 @@ lookup_block_processor (void *cls, GNUNET_CRYPTO_ecdsa_key_get_public (&fcfs_zone_pkey, &pub); if (GNUNET_OK != - GNUNET_NAMESTORE_block_decrypt (block, + GNUNET_GNSRECORD_block_decrypt (block, &pub, request->domain_name, &lookup_result_processor, @@ -738,7 +738,7 @@ create_response (void *cls, request->phase = RP_LOOKUP; GNUNET_CRYPTO_ecdsa_key_get_public (&fcfs_zone_pkey, &pub); - GNUNET_NAMESTORE_query_from_public_key (&pub, + GNUNET_GNSRECORD_query_from_public_key (&pub, request->domain_name, &query); request->qe = GNUNET_NAMESTORE_lookup_block (ns, -- cgit v1.2.3