Function rusteron_archive::bindings::aeron_archive_attach_segments

source ยท
pub unsafe extern "C" fn aeron_archive_attach_segments(
    count_p: *mut i64,
    aeron_archive: *mut aeron_archive_t,
    recording_id: i64,
) -> c_int
Expand description

Attach segments to the beginning of a recording to restore history that was previously detached.

Segment files must match the existing recording and join exactly to the start position of the recording they are being attached to.

@param count_p out param set to the number of segments attached @param aeron_archive the archive client @param recording_id the id of an existing recording @return 0 for success, -1 for failure