Type Alias xmlInputOpenCallback

Source
pub type xmlInputOpenCallback = Option<unsafe extern "C" fn(filename: *const c_char) -> *mut c_void>;
Expand description

xmlInputOpenCallback: @filename: the filename or URI

Callback used in the I/O Input API to open the resource

Returns an Input context or NULL in case or error

Aliased Type§

enum xmlInputOpenCallback {
    None,
    Some(unsafe extern "C" fn(_: *const i8) -> *mut c_void),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *const i8) -> *mut c_void)

Some value of type T.