#[unsafe(no_mangle)]pub unsafe extern "C" fn rdds_reader_select(
r: *const RddsReader,
take: bool,
max_samples: i32,
sample_states: u32,
view_states: u32,
instance_states: u32,
mode: i32,
instance: *const RddsInstanceHandle,
out: *mut *mut RddsSamples,
) -> StatusExpand description
rdds_reader_select: reads (or takes, with take) the samples in
the states of the masks (RDDS_ANY_*_STATE for any); with
RDDS_SELECT_INSTANCE, those of *instance only (the masks then
ignored); with RDDS_SELECT_NEXT_INSTANCE, those of the instance
after *instance (HANDLE_NIL or NULL for the first). At most
max_samples samples (RDDS_LENGTH_UNLIMITED for any number), the
first to arrive. An empty result is RETCODE_OK with no samples.