aboutsummaryrefslogtreecommitdiff
path: root/include/axolotl/account.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/account.hh
parentfb980849c4ffc99bca7a2dd5a347e9f0b4b99469 (diff)
Add API for removing used one time keys
Diffstat (limited to 'include/axolotl/account.hh')
-rw-r--r--include/axolotl/account.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/axolotl/account.hh b/include/axolotl/account.hh
index 0e65a7e..54d96c3 100644
--- a/include/axolotl/account.hh
+++ b/include/axolotl/account.hh
@@ -41,6 +41,10 @@ struct Account {
LocalKey const * lookup_key(
std::uint32_t id
);
+
+ std::size_t remove_key(
+ std::uint32_t id
+ );
};