Skip to main content

xmlParserInputBufferCreateFilenameFunc

Type Alias xmlParserInputBufferCreateFilenameFunc 

Source
pub type xmlParserInputBufferCreateFilenameFunc = Option<unsafe extern "C" fn(URI: *const c_char, enc: xmlCharEncoding) -> *mut xmlParserInputBuffer>;
Expand description

Signature for the function doing the lookup for a suitable input method corresponding to an URI.

@param URI the URI to read from @param enc the requested source encoding @returns the new xmlParserInputBuffer in case of success or NULL if no method was found.

Aliased Type§

pub enum xmlParserInputBufferCreateFilenameFunc {
    None,
    Some(unsafe extern "C" fn(*const i8, i32) -> *mut _xmlParserInputBuffer),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*const i8, i32) -> *mut _xmlParserInputBuffer)

Some value of type T.