aboutsummaryrefslogtreecommitdiff
path: root/src/messenger/messenger_api_contact.h
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2023-10-18 13:37:38 +0200
committerMartin Schanzenbach <schanzen@gnunet.org>2023-10-18 13:37:38 +0200
commit9ef4abad615bea12d13be542b8ae5fbeb2dfee32 (patch)
tree8875a687e004d331c9ea6a1d511a328c72b88113 /src/messenger/messenger_api_contact.h
parente95236b3ed78cd597c15f34b89385295702b627f (diff)
downloadgnunet-9ef4abad615bea12d13be542b8ae5fbeb2dfee32.tar.gz
gnunet-9ef4abad615bea12d13be542b8ae5fbeb2dfee32.zip
NEWS: Refactoring components under src/ into lib/, plugin/, cli/ and service/
This also includes a necessary API refactoring of crypto from IDENTITY to UTIL.
Diffstat (limited to 'src/messenger/messenger_api_contact.h')
-rw-r--r--src/messenger/messenger_api_contact.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/messenger/messenger_api_contact.h b/src/messenger/messenger_api_contact.h
index e2919bcc3..4463aa746 100644
--- a/src/messenger/messenger_api_contact.h
+++ b/src/messenger/messenger_api_contact.h
@@ -35,7 +35,7 @@ struct GNUNET_MESSENGER_Contact
35 char *name; 35 char *name;
36 size_t rc; 36 size_t rc;
37 37
38 struct GNUNET_IDENTITY_PublicKey public_key; 38 struct GNUNET_CRYPTO_PublicKey public_key;
39}; 39};
40 40
41/** 41/**
@@ -45,7 +45,7 @@ struct GNUNET_MESSENGER_Contact
45 * @return New contact 45 * @return New contact
46 */ 46 */
47struct GNUNET_MESSENGER_Contact* 47struct GNUNET_MESSENGER_Contact*
48create_contact (const struct GNUNET_IDENTITY_PublicKey *key); 48create_contact (const struct GNUNET_CRYPTO_PublicKey *key);
49 49
50/** 50/**
51 * Destroys a contact and frees its memory fully. 51 * Destroys a contact and frees its memory fully.
@@ -80,7 +80,7 @@ set_contact_name (struct GNUNET_MESSENGER_Contact *contact,
80 * @param[in] contact Contact 80 * @param[in] contact Contact
81 * @return Public key of the contact 81 * @return Public key of the contact
82 */ 82 */
83const struct GNUNET_IDENTITY_PublicKey* 83const struct GNUNET_CRYPTO_PublicKey*
84get_contact_key (const struct GNUNET_MESSENGER_Contact *contact); 84get_contact_key (const struct GNUNET_MESSENGER_Contact *contact);
85 85
86/** 86/**