Skip to main content

resolveEntitySAXFunc

Type Alias resolveEntitySAXFunc 

Source
pub type resolveEntitySAXFunc = Option<unsafe extern "C" fn(ctx: *mut c_void, publicId: *const xmlChar, systemId: *const xmlChar) -> *mut xmlParserInput>;
Expand description

SAX callback to resolve external entities.

This is only used to load DTDs. The preferred way to install custom resolvers is #xmlCtxtSetResourceLoader.

@param ctx the user data (XML parser context) @param publicId The public identifier of the entity @param systemId The system identifier of the entity (URL) @returns the xmlParserInput if inlined or NULL for DOM behaviour.

Aliased Type§

pub enum resolveEntitySAXFunc {
    None,
    Some(unsafe extern "C" fn(*mut c_void, *const u8, *const u8) -> *mut _xmlParserInput),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut c_void, *const u8, *const u8) -> *mut _xmlParserInput)

Some value of type T.