Type Alias xmlParserInputBufferCreateFilenameFunc

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

xmlParserInputBufferCreateFilenameFunc: @URI: the URI to read from @enc: the requested source encoding

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

Returns the new xmlParserInputBufferPtr in case of success or NULL if no method was found.

Aliased Type§

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.