Type Alias resolveEntitySAXFunc

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

resolveEntitySAXFunc: @ctx: the user data (XML parser context) @publicId: The public ID of the entity @systemId: The system ID of the entity

Callback: The entity loader, to control the loading of external entities, the application can either:

  • override this resolveEntity() callback in the SAX block
  • or better use the xmlSetExternalEntityLoader() function to set up it’s own entity resolution routine

Returns the xmlParserInputPtr if inlined or NULL for DOM behaviour.

Aliased Type§

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.