[][src]Function olm_sys::olm_session_id

pub unsafe extern "C" fn olm_session_id(
    session: *mut OlmSession,
    id: *mut c_void,
    id_length: usize
) -> usize

An identifier for this session. Will be the same for both ends of the conversation. If the id buffer is too small then olm_session_last_error() will be "OUTPUT_BUFFER_TOO_SMALL".