aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTheJackiMonster <thejackimonster@gmail.com>2022-03-12 14:38:12 +0100
committerTheJackiMonster <thejackimonster@gmail.com>2022-03-12 14:38:12 +0100
commitba528dd455716f73fbfb3191401b8978e9900453 (patch)
tree4c8521087eab07be002f2706e565d438f3cca5f0 /include
parentafd5d7cb5fdb8d2cf20f50d3942f553be78ca0ca (diff)
downloadlibgnunetchat-ba528dd455716f73fbfb3191401b8978e9900453.tar.gz
libgnunetchat-ba528dd455716f73fbfb3191401b8978e9900453.zip
Implemented lobby functionality and uri solving to add contacts
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/gnunet_chat_lib.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/gnunet_chat_lib.h b/include/gnunet_chat_lib.h
index b1810d5..e8a409f 100644
--- a/include/gnunet_chat_lib.h
+++ b/include/gnunet_chat_lib.h
@@ -39,6 +39,8 @@
39#include <gnunet/gnunet_time_lib.h> 39#include <gnunet/gnunet_time_lib.h>
40#include <gnunet/gnunet_util_lib.h> 40#include <gnunet/gnunet_util_lib.h>
41 41
42#define GNUNET_CHAT_URI_PREFIX "gnunet://chat/"
43
42/** 44/**
43 * Enum for the different kinds of messages. 45 * Enum for the different kinds of messages.
44 */ 46 */
@@ -172,7 +174,7 @@ typedef int
172 * Method called when a lobby is opened to share with others via a chat URI. 174 * Method called when a lobby is opened to share with others via a chat URI.
173 * 175 *
174 * @param[in,out] cls Closure from #GNUNET_CHAT_lobby_open 176 * @param[in,out] cls Closure from #GNUNET_CHAT_lobby_open
175 * @param[in] uri Chat URI of the lobby 177 * @param[in] uri Chat URI of the lobby or NULL on error
176 */ 178 */
177typedef void 179typedef void
178(*GNUNET_CHAT_LobbyCallback) (void *cls, 180(*GNUNET_CHAT_LobbyCallback) (void *cls,