Type Alias xmlDOMWrapAcquireNsFunction

Source
pub type xmlDOMWrapAcquireNsFunction = Option<unsafe extern "C" fn(ctxt: xmlDOMWrapCtxtPtr, node: xmlNodePtr, nsName: *const xmlChar, nsPrefix: *const xmlChar) -> xmlNsPtr>;
Expand description

xmlDOMWrapAcquireNsFunction: @ctxt: a DOM wrapper context @node: the context node (element or attribute) @nsName: the requested namespace name @nsPrefix: the requested namespace prefix

A function called to acquire namespaces (xmlNs) from the wrapper.

Returns an xmlNsPtr or NULL in case of an error.

Aliased Type§

enum xmlDOMWrapAcquireNsFunction {
    None,
    Some(unsafe extern "C" fn(_: *mut _xmlDOMWrapCtxt, _: *mut _xmlNode, _: *const u8, _: *const u8) -> *mut _xmlNs),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut _xmlDOMWrapCtxt, _: *mut _xmlNode, _: *const u8, _: *const u8) -> *mut _xmlNs)

Some value of type T.