Skip to main content

xmloxide_parse_dtd

Function xmloxide_parse_dtd 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn xmloxide_parse_dtd( input: *const c_char, ) -> *mut Dtd
Expand description

Parses a DTD from a null-terminated UTF-8 string.

Returns a pointer to the DTD on success, or null on failure. The returned DTD must be freed with xmloxide_free_dtd.

§Safety

input must be a valid null-terminated UTF-8 string.