Skip to main content

hdds_reader_topic_name

Function hdds_reader_topic_name 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn hdds_reader_topic_name( reader: *mut HddsDataReader, buf: *mut c_char, buf_len: usize, out_len: *mut usize, ) -> HddsError
Expand description

Get the topic name for a reader

§Safety

  • reader must be a valid pointer
  • buf must point to a buffer of at least buf_len bytes
  • out_len must be a valid pointer

§Returns

HddsError::HddsOk on success, writes topic name to buffer