pub unsafe extern "C" fn aeron_archive_list_recording_subscriptions(
count_p: *mut i32,
aeron_archive: *mut aeron_archive_t,
pseudo_index: i32,
subscription_count: i32,
channel_fragment: *const c_char,
stream_id: i32,
apply_stream_id: bool,
recording_subscription_descriptor_consumer: aeron_archive_recording_subscription_descriptor_consumer_func_t,
recording_subscription_descriptor_consumer_clientd: *mut c_void,
) -> c_int
Expand description
List active recording subscriptions in the Aeron Archive. These are the result of calling aeron_archive_start_recording or aeron_archive_extend_recording. The subscription id in the returned descriptor can be used when calling aeron_archive_stop_recording_subscription.
@param count_p out param set to the count of matched subscriptions @param aeron_archive the archive client @param pseudo_index the index into the active list at which to begin listing @param subscription_count the limit of total descriptors to deliver @param channel_fragment for a ‘contains’ match on the original channel stored with the Aeron Archive @param stream_id the stream id of the recording @param apply_stream_id whether or not the stream id should be matched @param recording_subscription_descriptor_consumer to be called for each descriptor @param recording_subscription_descriptor_consumer_clientd to be passed for each descriptor @return 0 for success, -1 for failure