diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-10-16 20:21:27 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-10-16 20:21:27 +0000 |
commit | accfd6bd85274da2f19e7230c8da6b273cfb2ece (patch) | |
tree | 60966194963795ff07b4da94f4efb6c46d6a23cf /src/namestore/gnunet-namestore-fcfsd.c | |
parent | 3d670727232e79b7e49a1df7ba9260db4e5798a0 (diff) | |
download | gnunet-accfd6bd85274da2f19e7230c8da6b273cfb2ece.tar.gz gnunet-accfd6bd85274da2f19e7230c8da6b273cfb2ece.zip |
-another renaming fest for GNUNET_NAMESTORE_ to GNUNET_GNSRECORD_ symbols that were moved
Diffstat (limited to 'src/namestore/gnunet-namestore-fcfsd.c')
-rw-r--r-- | src/namestore/gnunet-namestore-fcfsd.c | 16 |
1 files changed, 8 insertions, 8 deletions
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, | |||
246 | const struct GNUNET_CRYPTO_EcdsaPrivateKey *zone_key, | 246 | const struct GNUNET_CRYPTO_EcdsaPrivateKey *zone_key, |
247 | const char *name, | 247 | const char *name, |
248 | unsigned int rd_len, | 248 | unsigned int rd_len, |
249 | const struct GNUNET_NAMESTORE_RecordData *rd) | 249 | const struct GNUNET_GNSRECORD_Data *rd) |
250 | { | 250 | { |
251 | struct ZoneinfoRequest *zr = cls; | 251 | struct ZoneinfoRequest *zr = cls; |
252 | struct MHD_Response *response; | 252 | struct MHD_Response *response; |
@@ -508,10 +508,10 @@ zone_to_name_cb (void *cls, | |||
508 | const struct GNUNET_CRYPTO_EcdsaPrivateKey *zone_key, | 508 | const struct GNUNET_CRYPTO_EcdsaPrivateKey *zone_key, |
509 | const char *name, | 509 | const char *name, |
510 | unsigned int rd_count, | 510 | unsigned int rd_count, |
511 | const struct GNUNET_NAMESTORE_RecordData *rd) | 511 | const struct GNUNET_GNSRECORD_Data *rd) |
512 | { | 512 | { |
513 | struct Request *request = cls; | 513 | struct Request *request = cls; |
514 | struct GNUNET_NAMESTORE_RecordData r; | 514 | struct GNUNET_GNSRECORD_Data r; |
515 | struct GNUNET_CRYPTO_EcdsaPublicKey pub; | 515 | struct GNUNET_CRYPTO_EcdsaPublicKey pub; |
516 | 516 | ||
517 | request->qe = NULL; | 517 | request->qe = NULL; |
@@ -530,7 +530,7 @@ zone_to_name_cb (void *cls, | |||
530 | r.data_size = sizeof (pub); | 530 | r.data_size = sizeof (pub); |
531 | r.expiration_time = UINT64_MAX; | 531 | r.expiration_time = UINT64_MAX; |
532 | r.record_type = GNUNET_GNSRECORD_TYPE_PKEY; | 532 | r.record_type = GNUNET_GNSRECORD_TYPE_PKEY; |
533 | r.flags = GNUNET_NAMESTORE_RF_NONE; | 533 | r.flags = GNUNET_GNSRECORD_RF_NONE; |
534 | request->qe = GNUNET_NAMESTORE_records_store (ns, | 534 | request->qe = GNUNET_NAMESTORE_records_store (ns, |
535 | &fcfs_zone_pkey, | 535 | &fcfs_zone_pkey, |
536 | request->domain_name, | 536 | request->domain_name, |
@@ -552,7 +552,7 @@ zone_to_name_cb (void *cls, | |||
552 | static void | 552 | static void |
553 | lookup_result_processor (void *cls, | 553 | lookup_result_processor (void *cls, |
554 | unsigned int rd_count, | 554 | unsigned int rd_count, |
555 | const struct GNUNET_NAMESTORE_RecordData *rd) | 555 | const struct GNUNET_GNSRECORD_Data *rd) |
556 | { | 556 | { |
557 | struct Request *request = cls; | 557 | struct Request *request = cls; |
558 | struct GNUNET_CRYPTO_EcdsaPublicKey pub; | 558 | struct GNUNET_CRYPTO_EcdsaPublicKey pub; |
@@ -594,7 +594,7 @@ lookup_result_processor (void *cls, | |||
594 | */ | 594 | */ |
595 | static void | 595 | static void |
596 | lookup_block_processor (void *cls, | 596 | lookup_block_processor (void *cls, |
597 | const struct GNUNET_NAMESTORE_Block *block) | 597 | const struct GNUNET_GNSRECORD_Block *block) |
598 | { | 598 | { |
599 | struct Request *request = cls; | 599 | struct Request *request = cls; |
600 | struct GNUNET_CRYPTO_EcdsaPublicKey pub; | 600 | struct GNUNET_CRYPTO_EcdsaPublicKey pub; |
@@ -608,7 +608,7 @@ lookup_block_processor (void *cls, | |||
608 | GNUNET_CRYPTO_ecdsa_key_get_public (&fcfs_zone_pkey, | 608 | GNUNET_CRYPTO_ecdsa_key_get_public (&fcfs_zone_pkey, |
609 | &pub); | 609 | &pub); |
610 | if (GNUNET_OK != | 610 | if (GNUNET_OK != |
611 | GNUNET_NAMESTORE_block_decrypt (block, | 611 | GNUNET_GNSRECORD_block_decrypt (block, |
612 | &pub, | 612 | &pub, |
613 | request->domain_name, | 613 | request->domain_name, |
614 | &lookup_result_processor, | 614 | &lookup_result_processor, |
@@ -738,7 +738,7 @@ create_response (void *cls, | |||
738 | request->phase = RP_LOOKUP; | 738 | request->phase = RP_LOOKUP; |
739 | GNUNET_CRYPTO_ecdsa_key_get_public (&fcfs_zone_pkey, | 739 | GNUNET_CRYPTO_ecdsa_key_get_public (&fcfs_zone_pkey, |
740 | &pub); | 740 | &pub); |
741 | GNUNET_NAMESTORE_query_from_public_key (&pub, | 741 | GNUNET_GNSRECORD_query_from_public_key (&pub, |
742 | request->domain_name, | 742 | request->domain_name, |
743 | &query); | 743 | &query); |
744 | request->qe = GNUNET_NAMESTORE_lookup_block (ns, | 744 | request->qe = GNUNET_NAMESTORE_lookup_block (ns, |