aboutsummaryrefslogtreecommitdiff
path: root/include/olm/inbound_group_session.h
diff options
context:
space:
mode:
authorMark Haines <mjark@negativecurvature.net>2016-10-21 09:57:42 +0100
committerGitHub <noreply@github.com>2016-10-21 09:57:42 +0100
commit5a98012c0d3951d2d08e9922ee682fbdecc68f0c (patch)
treef4510135c054c28f2366119136c97ae024556497 /include/olm/inbound_group_session.h
parent65b334531754d9decf485975ffd2f9591bc80e84 (diff)
parent9a8d2d15d97dc17d8f33b7d45b0fefc1267b57c4 (diff)
Merge pull request #31 from matrix-org/markjh/groupmessageindex
Return the message index when decrypting group messages.
Diffstat (limited to 'include/olm/inbound_group_session.h')
-rw-r--r--include/olm/inbound_group_session.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/olm/inbound_group_session.h b/include/olm/inbound_group_session.h
index 59146c2..f8a0bc3 100644
--- a/include/olm/inbound_group_session.h
+++ b/include/olm/inbound_group_session.h
@@ -140,7 +140,8 @@ size_t olm_group_decrypt(
uint8_t * message, size_t message_length,
/* output */
- uint8_t * plaintext, size_t max_plaintext_length
+ uint8_t * plaintext, size_t max_plaintext_length,
+ uint32_t * message_index
);