Skip to main content

xmlTextReaderSetup

Function xmlTextReaderSetup 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn xmlTextReaderSetup( reader: *mut XmlTextReader, input: *mut _xmlParserInputBuffer, URL: *const c_char, encoding: *const c_char, options: c_int, ) -> c_int
Expand description

Setup/reinitialize a reader with new input.

§UPSTREAM-PARITY

int xmlTextReaderSetup(xmlTextReaderPtr reader,
                       xmlParserInputBufferPtr input,
                       const char *URL, const char *encoding, int options);

§Safety

  • reader must be a valid pointer or NULL.
  • input must be a valid _xmlParserInputBuffer pointer or NULL.
  • URL and encoding must be valid C strings or NULL.