Type Alias xmlInputMatchCallback

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

xmlInputMatchCallback: @filename: the filename or URI

Callback used in the I/O Input API to detect if the current handler can provide input functionality for this resource.

Returns 1 if yes and 0 if another Input module should be used

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.