diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/axolotl/account.hh | 4 | ||||
-rw-r--r-- | include/axolotl/axolotl.hh | 5 |
2 files changed, 9 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 + ); }; 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 ); |