Type Alias xmlOutputMatchCallback

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

xmlOutputMatchCallback: @filename: the filename or URI

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

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

Aliased Type§

enum xmlOutputMatchCallback {
    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.