aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_namestore_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_namestore_service.h')
-rw-r--r--src/include/gnunet_namestore_service.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/include/gnunet_namestore_service.h b/src/include/gnunet_namestore_service.h
index 4cad3ae62..ab539bb35 100644
--- a/src/include/gnunet_namestore_service.h
+++ b/src/include/gnunet_namestore_service.h
@@ -237,7 +237,7 @@ struct GNUNET_NAMESTORE_Block
237 /** 237 /**
238 * Derived key used for signing; hash of this is the query. 238 * Derived key used for signing; hash of this is the query.
239 */ 239 */
240 struct GNUNET_CRYPTO_EccPublicKey derived_key; 240 struct GNUNET_CRYPTO_EccPublicSignKey derived_key;
241 241
242 /** 242 /**
243 * Number of bytes signed; also specifies the number of bytes 243 * Number of bytes signed; also specifies the number of bytes
@@ -355,7 +355,7 @@ typedef void (*GNUNET_NAMESTORE_RecordMonitor) (void *cls,
355struct GNUNET_NAMESTORE_QueueEntry * 355struct GNUNET_NAMESTORE_QueueEntry *
356GNUNET_NAMESTORE_zone_to_name (struct GNUNET_NAMESTORE_Handle *h, 356GNUNET_NAMESTORE_zone_to_name (struct GNUNET_NAMESTORE_Handle *h,
357 const struct GNUNET_CRYPTO_EccPrivateKey *zone, 357 const struct GNUNET_CRYPTO_EccPrivateKey *zone,
358 const struct GNUNET_CRYPTO_EccPublicKey *value_zone, 358 const struct GNUNET_CRYPTO_EccPublicSignKey *value_zone,
359 GNUNET_NAMESTORE_RecordMonitor proc, void *proc_cls); 359 GNUNET_NAMESTORE_RecordMonitor proc, void *proc_cls);
360 360
361 361
@@ -604,7 +604,7 @@ GNUNET_NAMESTORE_normalize_string (const char *src);
604 * @return string form; will be overwritten by next call to #GNUNET_NAMESTORE_z2s. 604 * @return string form; will be overwritten by next call to #GNUNET_NAMESTORE_z2s.
605 */ 605 */
606const char * 606const char *
607GNUNET_NAMESTORE_z2s (const struct GNUNET_CRYPTO_EccPublicKey *z); 607GNUNET_NAMESTORE_z2s (const struct GNUNET_CRYPTO_EccPublicSignKey *z);
608 608
609 609
610/** 610/**
@@ -618,7 +618,7 @@ GNUNET_NAMESTORE_z2s (const struct GNUNET_CRYPTO_EccPublicKey *z);
618 * key in an encoding suitable for DNS labels. 618 * key in an encoding suitable for DNS labels.
619 */ 619 */
620const char * 620const char *
621GNUNET_NAMESTORE_pkey_to_zkey (const struct GNUNET_CRYPTO_EccPublicKey *pkey); 621GNUNET_NAMESTORE_pkey_to_zkey (const struct GNUNET_CRYPTO_EccPublicSignKey *pkey);
622 622
623 623
624/** 624/**
@@ -632,7 +632,7 @@ GNUNET_NAMESTORE_pkey_to_zkey (const struct GNUNET_CRYPTO_EccPublicKey *pkey);
632 */ 632 */
633int 633int
634GNUNET_NAMESTORE_zkey_to_pkey (const char *zkey, 634GNUNET_NAMESTORE_zkey_to_pkey (const char *zkey,
635 struct GNUNET_CRYPTO_EccPublicKey *pkey); 635 struct GNUNET_CRYPTO_EccPublicSignKey *pkey);
636 636
637 637
638/** 638/**
@@ -656,7 +656,7 @@ GNUNET_NAMESTORE_query_from_private_key (const struct GNUNET_CRYPTO_EccPrivateKe
656 * @param query hash to use for the query 656 * @param query hash to use for the query
657 */ 657 */
658void 658void
659GNUNET_NAMESTORE_query_from_public_key (const struct GNUNET_CRYPTO_EccPublicKey *pub, 659GNUNET_NAMESTORE_query_from_public_key (const struct GNUNET_CRYPTO_EccPublicSignKey *pub,
660 const char *label, 660 const char *label,
661 struct GNUNET_HashCode *query); 661 struct GNUNET_HashCode *query);
662 662
@@ -702,7 +702,7 @@ GNUNET_NAMESTORE_block_verify (const struct GNUNET_NAMESTORE_Block *block);
702 */ 702 */
703int 703int
704GNUNET_NAMESTORE_block_decrypt (const struct GNUNET_NAMESTORE_Block *block, 704GNUNET_NAMESTORE_block_decrypt (const struct GNUNET_NAMESTORE_Block *block,
705 const struct GNUNET_CRYPTO_EccPublicKey *zone_key, 705 const struct GNUNET_CRYPTO_EccPublicSignKey *zone_key,
706 const char *label, 706 const char *label,
707 GNUNET_NAMESTORE_RecordCallback proc, 707 GNUNET_NAMESTORE_RecordCallback proc,
708 void *proc_cls); 708 void *proc_cls);