aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorTheJackiMonster <thejackimonster@gmail.com>2023-11-17 00:55:56 +0100
committerTheJackiMonster <thejackimonster@gmail.com>2023-11-17 00:55:56 +0100
commit70de9fb2ce39ac74ed7e59a6c448ecb98c830073 (patch)
treecfabf0603debfce2fbe4a6281f88f77cb6abd981 /src/include
parentdd96dc544f1007a430f000c6a47d760e8bf20638 (diff)
downloadgnunet-70de9fb2ce39ac74ed7e59a6c448ecb98c830073.tar.gz
gnunet-70de9fb2ce39ac74ed7e59a6c448ecb98c830073.zip
MESSENGER: Fix handle id initialization and add local contact id
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gnunet_messenger_service.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/include/gnunet_messenger_service.h b/src/include/gnunet_messenger_service.h
index 9e389350a..dbe2d6ced 100644
--- a/src/include/gnunet_messenger_service.h
+++ b/src/include/gnunet_messenger_service.h
@@ -784,6 +784,15 @@ const struct GNUNET_CRYPTO_PublicKey*
784GNUNET_MESSENGER_contact_get_key (const struct GNUNET_MESSENGER_Contact *contact); 784GNUNET_MESSENGER_contact_get_key (const struct GNUNET_MESSENGER_Contact *contact);
785 785
786/** 786/**
787 * Get the locally unique id of the <i>contact</i>.
788 *
789 * @param[in] contact Contact handle
790 * @return Locally unique contact id or zero
791 */
792size_t
793GNUNET_MESSENGER_contact_get_id (const struct GNUNET_MESSENGER_Contact *contact);
794
795/**
787 * Send a <i>message</i> into a <i>room</i>. If you opened the <i>room</i> all entered members will receive the 796 * Send a <i>message</i> into a <i>room</i>. If you opened the <i>room</i> all entered members will receive the
788 * <i>message</i>. If you entered the <i>room</i> through a <b>door</b> all so entered <b>doors</b> will receive the 797 * <i>message</i>. If you entered the <i>room</i> through a <b>door</b> all so entered <b>doors</b> will receive the
789 * <i>message</i> as well. All members receiving the <i>message</i> will also propagate this <i>message</i> recursively 798 * <i>message</i> as well. All members receiving the <i>message</i> will also propagate this <i>message</i> recursively