Function olm_sys::olm_inbound_group_session_id [−][src]
pub unsafe extern "C" fn olm_inbound_group_session_id(
session: *mut OlmInboundGroupSession,
id: *mut u8,
id_length: usize
) -> usize
Get a base64-encoded identifier for this session.
Returns the length of the session id on success or olm_error() on failure. On failure last_error will be set with an error code. The last_error will be OUTPUT_BUFFER_TOO_SMALL if the id buffer was too small.