diff options
Diffstat (limited to 'src/gnunet_chat_handle_intern.c')
-rw-r--r-- | src/gnunet_chat_handle_intern.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/gnunet_chat_handle_intern.c b/src/gnunet_chat_handle_intern.c index 0b719a6..06dd406 100644 --- a/src/gnunet_chat_handle_intern.c +++ b/src/gnunet_chat_handle_intern.c | |||
@@ -30,7 +30,8 @@ | |||
30 | #include "gnunet_chat_invitation.h" | 30 | #include "gnunet_chat_invitation.h" |
31 | #include "gnunet_chat_message.h" | 31 | #include "gnunet_chat_message.h" |
32 | #include "gnunet_chat_util.h" | 32 | #include "gnunet_chat_util.h" |
33 | #include <gnunet/gnunet_common.h> | 33 | |
34 | #include <gnunet/gnunet_util_lib.h> | ||
34 | #include <stdio.h> | 35 | #include <stdio.h> |
35 | 36 | ||
36 | #define GNUNET_UNUSED __attribute__ ((unused)) | 37 | #define GNUNET_UNUSED __attribute__ ((unused)) |
@@ -333,7 +334,7 @@ send_refresh: | |||
333 | 334 | ||
334 | void | 335 | void |
335 | cb_account_creation (void *cls, | 336 | cb_account_creation (void *cls, |
336 | const struct GNUNET_IDENTITY_PrivateKey *key, | 337 | const struct GNUNET_CRYPTO_PrivateKey *key, |
337 | enum GNUNET_ErrorCode ec) | 338 | enum GNUNET_ErrorCode ec) |
338 | { | 339 | { |
339 | GNUNET_assert(cls); | 340 | GNUNET_assert(cls); |
@@ -444,7 +445,7 @@ cb_account_rename (void *cls, | |||
444 | 445 | ||
445 | static void | 446 | static void |
446 | cb_account_update_completion (void *cls, | 447 | cb_account_update_completion (void *cls, |
447 | const struct GNUNET_IDENTITY_PrivateKey *key, | 448 | const struct GNUNET_CRYPTO_PrivateKey *key, |
448 | enum GNUNET_ErrorCode ec) | 449 | enum GNUNET_ErrorCode ec) |
449 | { | 450 | { |
450 | GNUNET_assert(cls); | 451 | GNUNET_assert(cls); |
@@ -483,7 +484,7 @@ cb_account_update (void *cls, | |||
483 | handle->identity, | 484 | handle->identity, |
484 | accounts->identifier, | 485 | accounts->identifier, |
485 | NULL, | 486 | NULL, |
486 | GNUNET_IDENTITY_TYPE_ECDSA, | 487 | GNUNET_PUBLIC_KEY_TYPE_ECDSA, |
487 | cb_account_update_completion, | 488 | cb_account_update_completion, |
488 | accounts | 489 | accounts |
489 | ); | 490 | ); |
@@ -541,7 +542,7 @@ intern_provide_contact_for_member(struct GNUNET_CHAT_Handle *handle, | |||
541 | 542 | ||
542 | struct GNUNET_CHAT_CheckHandleRoomMembers | 543 | struct GNUNET_CHAT_CheckHandleRoomMembers |
543 | { | 544 | { |
544 | const struct GNUNET_IDENTITY_PublicKey *ignore_key; | 545 | const struct GNUNET_CRYPTO_PublicKey *ignore_key; |
545 | const struct GNUNET_MESSENGER_Contact *contact; | 546 | const struct GNUNET_MESSENGER_Contact *contact; |
546 | }; | 547 | }; |
547 | 548 | ||
@@ -554,7 +555,7 @@ check_handle_room_members (void* cls, | |||
554 | 555 | ||
555 | GNUNET_assert((check) && (member)); | 556 | GNUNET_assert((check) && (member)); |
556 | 557 | ||
557 | const struct GNUNET_IDENTITY_PublicKey *member_key = ( | 558 | const struct GNUNET_CRYPTO_PublicKey *member_key = ( |
558 | GNUNET_MESSENGER_contact_get_key(member) | 559 | GNUNET_MESSENGER_contact_get_key(member) |
559 | ); | 560 | ); |
560 | 561 | ||
@@ -588,7 +589,7 @@ scan_handle_room_members (void* cls, | |||
588 | void | 589 | void |
589 | on_monitor_namestore_record(void *cls, | 590 | on_monitor_namestore_record(void *cls, |
590 | GNUNET_UNUSED const | 591 | GNUNET_UNUSED const |
591 | struct GNUNET_IDENTITY_PrivateKey *zone, | 592 | struct GNUNET_CRYPTO_PrivateKey *zone, |
592 | const char *label, | 593 | const char *label, |
593 | unsigned int count, | 594 | unsigned int count, |
594 | const struct GNUNET_GNSRECORD_Data *data) | 595 | const struct GNUNET_GNSRECORD_Data *data) |