Skip to main content

xmlExternalEntityLoader

Type Alias xmlExternalEntityLoader 

Source
pub type xmlExternalEntityLoader = Option<unsafe extern "C" fn(URL: *const c_char, publicId: *const c_char, context: *mut xmlParserCtxt) -> *mut xmlParserInput>;
Expand description

Callback for external entity loader.

The URL is not resolved using XML catalogs before being passed to the callback.

@param URL The URL or system ID of the resource requested @param publicId The public ID of the resource requested (optional) @param context the XML parser context @returns the entity input parser or NULL on error.

Aliased Type§

pub enum xmlExternalEntityLoader {
    None,
    Some(unsafe extern "C" fn(*const i8, *const i8, *mut _xmlParserCtxt) -> *mut _xmlParserInput),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*const i8, *const i8, *mut _xmlParserCtxt) -> *mut _xmlParserInput)

Some value of type T.