aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_messenger_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_messenger_service.h')
-rw-r--r--src/include/gnunet_messenger_service.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/include/gnunet_messenger_service.h b/src/include/gnunet_messenger_service.h
index 5b03ddecf..0388b7fb2 100644
--- a/src/include/gnunet_messenger_service.h
+++ b/src/include/gnunet_messenger_service.h
@@ -223,7 +223,7 @@ struct GNUNET_MESSENGER_MessageHeader
223 /** 223 /**
224 * The signature of the senders private key. 224 * The signature of the senders private key.
225 */ 225 */
226 struct GNUNET_IDENTITY_Signature signature; 226 struct GNUNET_CRYPTO_Signature signature;
227 227
228 /** 228 /**
229 * The timestamp of the message. 229 * The timestamp of the message.
@@ -275,7 +275,7 @@ struct GNUNET_MESSENGER_MessageJoin
275 /** 275 /**
276 * The senders public key to verify its signatures. 276 * The senders public key to verify its signatures.
277 */ 277 */
278 struct GNUNET_IDENTITY_PublicKey key; 278 struct GNUNET_CRYPTO_PublicKey key;
279}; 279};
280 280
281/** 281/**
@@ -313,7 +313,7 @@ struct GNUNET_MESSENGER_MessageKey
313 /** 313 /**
314 * The new public key which replaces the current senders public key. 314 * The new public key which replaces the current senders public key.
315 */ 315 */
316 struct GNUNET_IDENTITY_PublicKey key; 316 struct GNUNET_CRYPTO_PublicKey key;
317}; 317};
318 318
319/** 319/**
@@ -610,7 +610,7 @@ typedef int
610struct GNUNET_MESSENGER_Handle* 610struct GNUNET_MESSENGER_Handle*
611GNUNET_MESSENGER_connect (const struct GNUNET_CONFIGURATION_Handle *cfg, 611GNUNET_MESSENGER_connect (const struct GNUNET_CONFIGURATION_Handle *cfg,
612 const char *name, 612 const char *name,
613 const struct GNUNET_IDENTITY_PrivateKey *key, 613 const struct GNUNET_CRYPTO_PrivateKey *key,
614 GNUNET_MESSENGER_MessageCallback msg_callback, 614 GNUNET_MESSENGER_MessageCallback msg_callback,
615 void *msg_cls); 615 void *msg_cls);
616 616
@@ -649,7 +649,7 @@ GNUNET_MESSENGER_set_name (struct GNUNET_MESSENGER_Handle *handle,
649 * @param[in] handle Messenger handle to use 649 * @param[in] handle Messenger handle to use
650 * @return Used public key or NULL 650 * @return Used public key or NULL
651 */ 651 */
652const struct GNUNET_IDENTITY_PublicKey* 652const struct GNUNET_CRYPTO_PublicKey*
653GNUNET_MESSENGER_get_key (const struct GNUNET_MESSENGER_Handle *handle); 653GNUNET_MESSENGER_get_key (const struct GNUNET_MESSENGER_Handle *handle);
654 654
655/** 655/**
@@ -663,7 +663,7 @@ GNUNET_MESSENGER_get_key (const struct GNUNET_MESSENGER_Handle *handle);
663 */ 663 */
664int 664int
665GNUNET_MESSENGER_set_key (struct GNUNET_MESSENGER_Handle *handle, 665GNUNET_MESSENGER_set_key (struct GNUNET_MESSENGER_Handle *handle,
666 const struct GNUNET_IDENTITY_PrivateKey *key); 666 const struct GNUNET_CRYPTO_PrivateKey *key);
667 667
668/** 668/**
669 * Open a room to send and receive messages. The room will use the specified <i>key</i> as port for the underlying cadet 669 * Open a room to send and receive messages. The room will use the specified <i>key</i> as port for the underlying cadet
@@ -775,9 +775,8 @@ GNUNET_MESSENGER_contact_get_name (const struct
775 * @param[in] contact Contact handle 775 * @param[in] contact Contact handle
776 * @return Public key used by <i>contact</i> or NULL 776 * @return Public key used by <i>contact</i> or NULL
777 */ 777 */
778const struct GNUNET_IDENTITY_PublicKey* 778const struct GNUNET_CRYPTO_PublicKey*
779GNUNET_MESSENGER_contact_get_key (const struct 779GNUNET_MESSENGER_contact_get_key (const struct GNUNET_MESSENGER_Contact *contact);
780 GNUNET_MESSENGER_Contact *contact);
781 780
782/** 781/**
783 * Send a <i>message</i> into a <i>room</i>. If you opened the <i>room</i> all entered members will receive the 782 * Send a <i>message</i> into a <i>room</i>. If you opened the <i>room</i> all entered members will receive the