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_record.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_record.h')
-rw-r--r-- | libs/libaxolotl/src/session_record.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libs/libaxolotl/src/session_record.h b/libs/libaxolotl/src/session_record.h index 99f113d2eb..581e232640 100644 --- a/libs/libaxolotl/src/session_record.h +++ b/libs/libaxolotl/src/session_record.h @@ -3,16 +3,16 @@ #include <stdint.h> #include <stddef.h> -#include "axolotl_types.h" +#include "signal_protocol_types.h" #ifdef __cplusplus extern "C" { #endif -int session_record_create(session_record **record, session_state *state, axolotl_context *global_context); -int session_record_serialize(axolotl_buffer **buffer, const session_record *record); -int session_record_deserialize(session_record **record, const uint8_t *data, size_t len, axolotl_context *global_context); -int session_record_copy(session_record **record, session_record *other_record, axolotl_context *global_context); +int session_record_create(session_record **record, session_state *state, signal_context *global_context); +int session_record_serialize(signal_buffer **buffer, const session_record *record); +int session_record_deserialize(session_record **record, const uint8_t *data, size_t len, signal_context *global_context); +int session_record_copy(session_record **record, session_record *other_record, signal_context *global_context); int session_record_has_session_state(session_record *record, uint32_t version, const ec_public_key *alice_base_key); session_state *session_record_get_state(session_record *record); @@ -41,7 +41,7 @@ int session_record_archive_current_state(session_record *record); int session_record_promote_state(session_record *record, session_state *promoted_state); -void session_record_destroy(axolotl_type_base *type); +void session_record_destroy(signal_type_base *type); #ifdef __cplusplus } |