diff options
Diffstat (limited to 'src/gnunet_chat_context.h')
-rw-r--r-- | src/gnunet_chat_context.h | 12 |
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 | ||
34 | struct GNUNET_CHAT_Handle; | 34 | struct GNUNET_CHAT_Handle; |
35 | struct GNUNET_CHAT_Message; | ||
35 | 36 | ||
36 | struct GNUNET_CHAT_Context | 37 | struct 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 | */ | ||
123 | void | ||
124 | context_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 | * |