diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2017-02-13 07:56:33 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2017-02-13 09:09:08 +0300 |
commit | 193f645f65ad4ffdec3186e4176b23af10861199 (patch) | |
tree | e1b16b48ac74c5f03f99a98798e849f6dd9752cc /libs/libaxolotl/src/session_state.h | |
parent | 36c32a13878d3bd94e88bd9c764f1eadb05ea1ed (diff) |
libs:
libaxolotl:
updated libaxolotl (libsignal-c) from (https://github.com/WhisperSystems/libsignal-protocol-c)
Diffstat (limited to 'libs/libaxolotl/src/session_state.h')
-rw-r--r-- | libs/libaxolotl/src/session_state.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libs/libaxolotl/src/session_state.h b/libs/libaxolotl/src/session_state.h index 119e523fc9..ef1ecaed97 100644 --- a/libs/libaxolotl/src/session_state.h +++ b/libs/libaxolotl/src/session_state.h @@ -3,7 +3,7 @@ #include <stdint.h> #include <stddef.h> -#include "axolotl_types.h" +#include "signal_protocol_types.h" #ifdef __cplusplus extern "C" { @@ -11,10 +11,10 @@ extern "C" { /*------------------------------------------------------------------------*/ -int session_state_create(session_state **state, axolotl_context *global_context); -int session_state_serialize(axolotl_buffer **buffer, session_state *state); -int session_state_deserialize(session_state **state, const uint8_t *data, size_t len, axolotl_context *global_context); -int session_state_copy(session_state **state, session_state *other_state, axolotl_context *global_context); +int session_state_create(session_state **state, signal_context *global_context); +int session_state_serialize(signal_buffer **buffer, session_state *state); +int session_state_deserialize(session_state **state, const uint8_t *data, size_t len, signal_context *global_context); +int session_state_copy(session_state **state, session_state *other_state, signal_context *global_context); void session_state_set_session_version(session_state *state, uint32_t version); uint32_t session_state_get_session_version(const session_state *state); @@ -80,7 +80,7 @@ int session_state_get_needs_refresh(const session_state *state); void session_state_set_alice_base_key(session_state *state, ec_public_key *key); ec_public_key *session_state_get_alice_base_key(const session_state *state); -void session_state_destroy(axolotl_type_base *type); +void session_state_destroy(signal_type_base *type); #ifdef __cplusplus } |