aboutsummaryrefslogtreecommitdiff
path: root/include/axolotl/axolotl.hh
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-06-22 11:02:42 +0100
committerMark Haines <mark.haines@matrix.org>2015-06-22 11:02:42 +0100
commit408530adf9ec0fd7aa8a201103262eebfc9cfc3e (patch)
tree7eeeab21e409727b2d7b2b6b05332046081e8a01 /include/axolotl/axolotl.hh
parentfb980849c4ffc99bca7a2dd5a347e9f0b4b99469 (diff)
Add API for removing used one time keys
Diffstat (limited to 'include/axolotl/axolotl.hh')
-rw-r--r--include/axolotl/axolotl.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/axolotl/axolotl.hh b/include/axolotl/axolotl.hh
index 09276a9..e333dbc 100644
--- a/include/axolotl/axolotl.hh
+++ b/include/axolotl/axolotl.hh
@@ -121,6 +121,11 @@ size_t axolotl_matches_inbound_session(
void * one_time_key_message, size_t message_length
);
+size_t axolotl_remove_one_time_keys(
+ AxolotlAccount * account,
+ AxolotlSession * session
+);
+
size_t axolotl_encrypt_message_type(
AxolotlSession * session
);