Function rusteron_archive::bindings::aeron_archive_extend_recording

source ยท
pub unsafe extern "C" fn aeron_archive_extend_recording(
    subscription_id_p: *mut i64,
    aeron_archive: *mut aeron_archive_t,
    recording_id: i64,
    recording_channel: *const c_char,
    recording_stream_id: i32,
    source_location: aeron_archive_source_location_t,
    auto_stop: bool,
) -> c_int
Expand description

Extend an existing, non-active recording for a channel and stream pairing.

The channel must be configured with the initial position from which it will be extended. This can be done with aeron_uri_string_builder_set_initial_position. The details required to initialize can be found by calling aeron_archive_list_recording.

@param subscription_id_p out param set to the subscription id of the recording @param aeron_archive the archive client @param recording_id the id of the existing recording @param recording_channel the channel of the publication to be recorded @param recording_stream_id the stream id of the publication to be recorded @param source_location the source location of the publication to be recorded @param auto_stop should the recording be automatically stopped when complete @return 0 for success, -1 for failure