aboutsummaryrefslogtreecommitdiff
path: root/src/olm.cpp
diff options
context:
space:
mode:
authorHubert Chathi <hubert@uhoreg.ca>2019-10-09 15:37:56 +0000
committerHubert Chathi <hubert@uhoreg.ca>2019-10-09 15:37:56 +0000
commit387deeea8f66c93d84083790fd7b90bee0007ef9 (patch)
treec5dc092e5bb83b5a17863992396f0b82158c1e43 /src/olm.cpp
parent3568060570bb06eff022f49ab39cf34e387e382f (diff)
parentfc423fad15ee3daaf236f211d67a25d03f63b560 (diff)
Merge branch 'dbkr/olm_session_describe' into 'master'
Add olm_session_describe See merge request matrix-org/olm!9
Diffstat (limited to 'src/olm.cpp')
-rw-r--r--src/olm.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/olm.cpp b/src/olm.cpp
index d626c84..0333b10 100644
--- a/src/olm.cpp
+++ b/src/olm.cpp
@@ -535,6 +535,12 @@ int olm_session_has_received_message(
return from_c(session)->received_message;
}
+void olm_session_describe(
+ OlmSession * session, char *buf, size_t buflen
+) {
+ from_c(session)->describe(buf, buflen);
+}
+
size_t olm_matches_inbound_session(
OlmSession * session,
void * one_time_key_message, size_t message_length