aboutsummaryrefslogtreecommitdiff
path: root/include/olm/session.hh
diff options
context:
space:
mode:
Diffstat (limited to 'include/olm/session.hh')
-rw-r--r--include/olm/session.hh6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/olm/session.hh b/include/olm/session.hh
index b70ce6a..993a8da 100644
--- a/include/olm/session.hh
+++ b/include/olm/session.hh
@@ -54,6 +54,12 @@ struct Session {
std::uint8_t const * one_time_key_message, std::size_t message_length
);
+ std::size_t session_id_length();
+
+ std::size_t session_id(
+ std::uint8_t * id, std::size_t id_length
+ );
+
bool matches_inbound_session(
Curve25519PublicKey const * their_identity_key,
std::uint8_t const * one_time_key_message, std::size_t message_length