Type Alias xmlSchemaValidityLocatorFunc

Source
pub type xmlSchemaValidityLocatorFunc = Option<unsafe extern "C" fn(ctx: *mut c_void, file: *mut *const c_char, line: *mut c_ulong) -> c_int>;
Expand description

xmlSchemaValidityLocatorFunc: @ctx: user provided context @file: returned file information @line: returned line information

A schemas validation locator, a callback called by the validator. This is used when file or node information are not available to find out what file and line number are affected

Returns: 0 in case of success and -1 in case of error

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.