diff options
Diffstat (limited to 'src/service/messenger/messenger_api_message.h')
-rw-r--r-- | src/service/messenger/messenger_api_message.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/service/messenger/messenger_api_message.h b/src/service/messenger/messenger_api_message.h index a19eb36ba..f5bc62519 100644 --- a/src/service/messenger/messenger_api_message.h +++ b/src/service/messenger/messenger_api_message.h | |||
@@ -257,13 +257,15 @@ transcribe_message (const struct GNUNET_MESSENGER_Message *message, | |||
257 | const struct GNUNET_CRYPTO_PublicKey *key); | 257 | const struct GNUNET_CRYPTO_PublicKey *key); |
258 | 258 | ||
259 | /** | 259 | /** |
260 | * Read the original message from a message <i>transcript</i>. | 260 | * Read the original message from a transcript <i>message</i> and replaces its body |
261 | * and kind with the inner encrypted message. The function returns #GNUNET_YES if the | ||
262 | * operation succeeded, otherwise #GNUNET_NO. | ||
261 | * | 263 | * |
262 | * @param[in] transcript Message transcript | 264 | * @param[in,out] transcript Message transcript |
263 | * @return Original message | 265 | * @return #GNUNET_YES on success, otherwise #GNUNET_NO |
264 | */ | 266 | */ |
265 | struct GNUNET_MESSENGER_Message* | 267 | enum GNUNET_GenericReturnValue |
266 | read_transcript_message (const struct GNUNET_MESSENGER_Message *transcript); | 268 | read_transcript_message (struct GNUNET_MESSENGER_Message *message); |
267 | 269 | ||
268 | typedef void (*GNUNET_MESSENGER_SignFunction)( | 270 | typedef void (*GNUNET_MESSENGER_SignFunction)( |
269 | const void *cls, | 271 | const void *cls, |