aboutsummaryrefslogtreecommitdiff
path: root/src/gnunet_chat_context.h
diff options
context:
space:
mode:
authorJacki <jacki@thejackimonster.de>2024-02-10 23:34:12 +0100
committerJacki <jacki@thejackimonster.de>2024-02-10 23:34:12 +0100
commit43485ce71b4eb227d934c5726bc234195e0cbafa (patch)
treef82abae899119b5a0e0bd62043243649bd0975e0 /src/gnunet_chat_context.h
parent7d43dc0a81ff20c11ae497fece2b414fd241a00c (diff)
downloadlibgnunetchat-43485ce71b4eb227d934c5726bc234195e0cbafa.tar.gz
libgnunetchat-43485ce71b4eb227d934c5726bc234195e0cbafa.zip
Implement blocking and unblocking via rejection tags
Signed-off-by: Jacki <jacki@thejackimonster.de>
Diffstat (limited to 'src/gnunet_chat_context.h')
-rw-r--r--src/gnunet_chat_context.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gnunet_chat_context.h b/src/gnunet_chat_context.h
index ffac61f..bce644a 100644
--- a/src/gnunet_chat_context.h
+++ b/src/gnunet_chat_context.h
@@ -32,6 +32,7 @@
32#include "gnunet_chat_util.h" 32#include "gnunet_chat_util.h"
33 33
34struct GNUNET_CHAT_Handle; 34struct GNUNET_CHAT_Handle;
35struct GNUNET_CHAT_Message;
35 36
36struct GNUNET_CHAT_Context 37struct GNUNET_CHAT_Context
37{ 38{
@@ -113,6 +114,17 @@ context_update_nick (struct GNUNET_CHAT_Context *context,
113 const char *nick); 114 const char *nick);
114 115
115/** 116/**
117 * Deletes linked content from a given chat <i>context</i>
118 * of a specific chat <i>message</i>.
119 *
120 * @param[in,out] context Chat context
121 * @param[in] message Chat message
122 */
123void
124context_delete_message (struct GNUNET_CHAT_Context *context,
125 const struct GNUNET_CHAT_Message *message);
126
127/**
116 * Reads the <i>data</i> of records under a given <i>label</i> 128 * Reads the <i>data</i> of records under a given <i>label</i>
117 * and updates the chat <i>context</i> with it. 129 * and updates the chat <i>context</i> with it.
118 * 130 *