diff options
Diffstat (limited to 'src/include/gnunet_gnsrecord_lib.h')
-rw-r--r-- | src/include/gnunet_gnsrecord_lib.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/include/gnunet_gnsrecord_lib.h b/src/include/gnunet_gnsrecord_lib.h index 338f22223..d78e637e8 100644 --- a/src/include/gnunet_gnsrecord_lib.h +++ b/src/include/gnunet_gnsrecord_lib.h | |||
@@ -339,7 +339,7 @@ struct GNUNET_GNSRECORD_ReverseRecord | |||
339 | /** | 339 | /** |
340 | * The public key of the namespace the is delegating to our namespace | 340 | * The public key of the namespace the is delegating to our namespace |
341 | */ | 341 | */ |
342 | struct GNUNET_IDENTITY_PublicKey pkey; | 342 | struct GNUNET_CRYPTO_PublicKey pkey; |
343 | 343 | ||
344 | /** | 344 | /** |
345 | * The expiration time of the delegation | 345 | * The expiration time of the delegation |
@@ -494,7 +494,7 @@ GNUNET_GNSRECORD_string_normalize (const char *src); | |||
494 | * #GNUNET_GNSRECORD_z2s. | 494 | * #GNUNET_GNSRECORD_z2s. |
495 | */ | 495 | */ |
496 | const char * | 496 | const char * |
497 | GNUNET_GNSRECORD_z2s (const struct GNUNET_IDENTITY_PublicKey *z); | 497 | GNUNET_GNSRECORD_z2s (const struct GNUNET_CRYPTO_PublicKey *z); |
498 | 498 | ||
499 | 499 | ||
500 | /** | 500 | /** |
@@ -508,7 +508,7 @@ GNUNET_GNSRECORD_z2s (const struct GNUNET_IDENTITY_PublicKey *z); | |||
508 | * key in an encoding suitable for DNS labels. | 508 | * key in an encoding suitable for DNS labels. |
509 | */ | 509 | */ |
510 | const char * | 510 | const char * |
511 | GNUNET_GNSRECORD_pkey_to_zkey (const struct GNUNET_IDENTITY_PublicKey *pkey); | 511 | GNUNET_GNSRECORD_pkey_to_zkey (const struct GNUNET_CRYPTO_PublicKey *pkey); |
512 | 512 | ||
513 | 513 | ||
514 | /** | 514 | /** |
@@ -522,7 +522,7 @@ GNUNET_GNSRECORD_pkey_to_zkey (const struct GNUNET_IDENTITY_PublicKey *pkey); | |||
522 | */ | 522 | */ |
523 | int | 523 | int |
524 | GNUNET_GNSRECORD_zkey_to_pkey (const char *zkey, | 524 | GNUNET_GNSRECORD_zkey_to_pkey (const char *zkey, |
525 | struct GNUNET_IDENTITY_PublicKey *pkey); | 525 | struct GNUNET_CRYPTO_PublicKey *pkey); |
526 | 526 | ||
527 | 527 | ||
528 | /** | 528 | /** |
@@ -534,7 +534,7 @@ GNUNET_GNSRECORD_zkey_to_pkey (const char *zkey, | |||
534 | */ | 534 | */ |
535 | void | 535 | void |
536 | GNUNET_GNSRECORD_query_from_private_key ( | 536 | GNUNET_GNSRECORD_query_from_private_key ( |
537 | const struct GNUNET_IDENTITY_PrivateKey *zone, const char *label, | 537 | const struct GNUNET_CRYPTO_PrivateKey *zone, const char *label, |
538 | struct GNUNET_HashCode *query); | 538 | struct GNUNET_HashCode *query); |
539 | 539 | ||
540 | 540 | ||
@@ -548,7 +548,7 @@ GNUNET_GNSRECORD_query_from_private_key ( | |||
548 | */ | 548 | */ |
549 | void | 549 | void |
550 | GNUNET_GNSRECORD_query_from_public_key ( | 550 | GNUNET_GNSRECORD_query_from_public_key ( |
551 | const struct GNUNET_IDENTITY_PublicKey *pub, const char *label, | 551 | const struct GNUNET_CRYPTO_PublicKey *pub, const char *label, |
552 | struct GNUNET_HashCode *query); | 552 | struct GNUNET_HashCode *query); |
553 | 553 | ||
554 | 554 | ||
@@ -562,7 +562,7 @@ GNUNET_GNSRECORD_query_from_public_key ( | |||
562 | */ | 562 | */ |
563 | ssize_t | 563 | ssize_t |
564 | GNUNET_GNSRECORD_block_calculate_size (const struct | 564 | GNUNET_GNSRECORD_block_calculate_size (const struct |
565 | GNUNET_IDENTITY_PrivateKey *key, | 565 | GNUNET_CRYPTO_PrivateKey *key, |
566 | const struct GNUNET_GNSRECORD_Data *rd, | 566 | const struct GNUNET_GNSRECORD_Data *rd, |
567 | unsigned int rd_count); | 567 | unsigned int rd_count); |
568 | 568 | ||
@@ -576,7 +576,7 @@ GNUNET_GNSRECORD_block_calculate_size (const struct | |||
576 | */ | 576 | */ |
577 | enum GNUNET_GenericReturnValue | 577 | enum GNUNET_GenericReturnValue |
578 | GNUNET_GNSRECORD_block_sign (const struct | 578 | GNUNET_GNSRECORD_block_sign (const struct |
579 | GNUNET_IDENTITY_PrivateKey *key, | 579 | GNUNET_CRYPTO_PrivateKey *key, |
580 | const char *label, | 580 | const char *label, |
581 | struct GNUNET_GNSRECORD_Block *block); | 581 | struct GNUNET_GNSRECORD_Block *block); |
582 | 582 | ||
@@ -592,7 +592,7 @@ GNUNET_GNSRECORD_block_sign (const struct | |||
592 | * @return GNUNET_OK on success | 592 | * @return GNUNET_OK on success |
593 | */ | 593 | */ |
594 | enum GNUNET_GenericReturnValue | 594 | enum GNUNET_GenericReturnValue |
595 | GNUNET_GNSRECORD_block_create (const struct GNUNET_IDENTITY_PrivateKey *key, | 595 | GNUNET_GNSRECORD_block_create (const struct GNUNET_CRYPTO_PrivateKey *key, |
596 | struct GNUNET_TIME_Absolute expire, | 596 | struct GNUNET_TIME_Absolute expire, |
597 | const char *label, | 597 | const char *label, |
598 | const struct GNUNET_GNSRECORD_Data *rd, | 598 | const struct GNUNET_GNSRECORD_Data *rd, |
@@ -617,7 +617,7 @@ GNUNET_GNSRECORD_block_create (const struct GNUNET_IDENTITY_PrivateKey *key, | |||
617 | */ | 617 | */ |
618 | enum GNUNET_GenericReturnValue | 618 | enum GNUNET_GenericReturnValue |
619 | GNUNET_GNSRECORD_block_create_unsigned (const struct | 619 | GNUNET_GNSRECORD_block_create_unsigned (const struct |
620 | GNUNET_IDENTITY_PrivateKey *key, | 620 | GNUNET_CRYPTO_PrivateKey *key, |
621 | struct GNUNET_TIME_Absolute expire, | 621 | struct GNUNET_TIME_Absolute expire, |
622 | const char *label, | 622 | const char *label, |
623 | const struct GNUNET_GNSRECORD_Data *rd, | 623 | const struct GNUNET_GNSRECORD_Data *rd, |
@@ -639,7 +639,7 @@ GNUNET_GNSRECORD_block_create_unsigned (const struct | |||
639 | * @return GNUNET_OK on success. | 639 | * @return GNUNET_OK on success. |
640 | */ | 640 | */ |
641 | enum GNUNET_GenericReturnValue | 641 | enum GNUNET_GenericReturnValue |
642 | GNUNET_GNSRECORD_block_create2 (const struct GNUNET_IDENTITY_PrivateKey *key, | 642 | GNUNET_GNSRECORD_block_create2 (const struct GNUNET_CRYPTO_PrivateKey *key, |
643 | struct GNUNET_TIME_Absolute expire, | 643 | struct GNUNET_TIME_Absolute expire, |
644 | const char *label, | 644 | const char *label, |
645 | const struct GNUNET_GNSRECORD_Data *rd, | 645 | const struct GNUNET_GNSRECORD_Data *rd, |
@@ -672,7 +672,7 @@ GNUNET_GNSRECORD_block_verify (const struct GNUNET_GNSRECORD_Block *block); | |||
672 | enum GNUNET_GenericReturnValue | 672 | enum GNUNET_GenericReturnValue |
673 | GNUNET_GNSRECORD_block_decrypt ( | 673 | GNUNET_GNSRECORD_block_decrypt ( |
674 | const struct GNUNET_GNSRECORD_Block *block, | 674 | const struct GNUNET_GNSRECORD_Block *block, |
675 | const struct GNUNET_IDENTITY_PublicKey *zone_key, const char *label, | 675 | const struct GNUNET_CRYPTO_PublicKey *zone_key, const char *label, |
676 | GNUNET_GNSRECORD_RecordCallback proc, void *proc_cls); | 676 | GNUNET_GNSRECORD_RecordCallback proc, void *proc_cls); |
677 | 677 | ||
678 | 678 | ||
@@ -752,7 +752,7 @@ enum GNUNET_GenericReturnValue | |||
752 | GNUNET_GNSRECORD_identity_from_data (const char *data, | 752 | GNUNET_GNSRECORD_identity_from_data (const char *data, |
753 | size_t data_size, | 753 | size_t data_size, |
754 | uint32_t type, | 754 | uint32_t type, |
755 | struct GNUNET_IDENTITY_PublicKey *key); | 755 | struct GNUNET_CRYPTO_PublicKey *key); |
756 | 756 | ||
757 | 757 | ||
758 | /** | 758 | /** |
@@ -766,7 +766,7 @@ GNUNET_GNSRECORD_identity_from_data (const char *data, | |||
766 | */ | 766 | */ |
767 | enum GNUNET_GenericReturnValue | 767 | enum GNUNET_GenericReturnValue |
768 | GNUNET_GNSRECORD_data_from_identity (const struct | 768 | GNUNET_GNSRECORD_data_from_identity (const struct |
769 | GNUNET_IDENTITY_PublicKey *key, | 769 | GNUNET_CRYPTO_PublicKey *key, |
770 | char **data, | 770 | char **data, |
771 | size_t *data_size, | 771 | size_t *data_size, |
772 | uint32_t *type); | 772 | uint32_t *type); |