aboutsummaryrefslogtreecommitdiff
path: root/src/gnunet_chat_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gnunet_chat_util.h')
-rw-r--r--src/gnunet_chat_util.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/gnunet_chat_util.h b/src/gnunet_chat_util.h
index 8845eab..9229586 100644
--- a/src/gnunet_chat_util.h
+++ b/src/gnunet_chat_util.h
@@ -32,6 +32,8 @@
32#include <gnunet/gnunet_messenger_service.h> 32#include <gnunet/gnunet_messenger_service.h>
33#include <gnunet/gnunet_util_lib.h> 33#include <gnunet/gnunet_util_lib.h>
34 34
35#include "gnunet_chat_lib.h"
36
35/** 37/**
36 * Enum for the types of chat contexts. 38 * Enum for the types of chat contexts.
37 */ 39 */
@@ -185,4 +187,15 @@ int
185util_lobby_name (const struct GNUNET_HashCode *hash, 187util_lobby_name (const struct GNUNET_HashCode *hash,
186 char **name); 188 char **name);
187 189
190/**
191 * Return the chat related kind for a messages original kind
192 * from the service. It will return #GNUNET_CHAT_KIND_UNKNOWN
193 * in case the message kind is not supported.
194 *
195 * @param[in] kind Messenger service message kind
196 * @return Chat message kind or #GNUNET_CHAT_KIND_UNKNOWN_
197 */
198enum GNUNET_CHAT_MessageKind
199util_message_kind_from_kind (enum GNUNET_MESSENGER_MessageKind kind);
200
188#endif /* GNUNET_CHAT_UTIL_H_ */ 201#endif /* GNUNET_CHAT_UTIL_H_ */