Function olm_sys::olm_encrypt_message_type [−][src]
pub unsafe extern "C" fn olm_encrypt_message_type(
session: *mut OlmSession
) -> usize
The type of the next message that olm_encrypt() will return. Returns OLM_MESSAGE_TYPE_PRE_KEY if the message will be a PRE_KEY message. Returns OLM_MESSAGE_TYPE_MESSAGE if the message will be a normal message. Returns olm_error on failure.