[][src]Function olm_sys::olm_outbound_group_session_id

pub unsafe extern "C" fn olm_outbound_group_session_id(
    session: *mut OlmOutboundGroupSession,
    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.